summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pass a preprocessor define to identify us.android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1Dan Albert2014-08-151-0/+1
| | | | | | | | | | | | Needed so that <stdatomic.h> can identify when a <atomic> header is available. We need to do this because including <atomic> after <stdatomic.h> causes compilation to fail, and the cleanest way out of that situation is to make <stdatomic.h> include <atomic> when it is using in a C++ context. Bug: 17007799 Change-Id: Ic5798cb579840c4a49c3eb2c9e468d5f61fb6dd3 (cherry picked from commit 246124b60c15f201071275dc05f3cf498fa97dd4)
* Emulate clang atomic built-ins on gcc > 4.7Dan Albert2014-08-111-1/+252
| | | | | | | | | | | | | | | | gcc 4.7 and above has atomic built-ins which slightly different APIs from those provided by clang. Add proxy functions that wrap the gcc built-ins to produce a symbol that is API equivalent to the clang built-ins. This allows libc++'s atomic library to be used with gcc-4.7 and newer. Patch contributed by Albert Wong. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215305 91177308-0d34-0410-b5e6-96231b3b80d8 Bug: 16301104 Change-Id: I17ad6e5c18f910aa76d4acd83bc5175f29e74c36 (cherry picked from commit 1c1ba7bb946848d17698d3ef3572ec6ead25b8b3)
* Exclude only modules with prebuilt in prebuilts/sdk.Ying Wang2014-08-071-3/+3
| | | | | | | So we can do tapas build in the full platform source tree. Change-Id: I4c64d1007d1e295518ed6338b46d1087714b68aa (cherry picked from commit 9dd567a7d51065029e7b1c1d3d08bcb00f063c09)
* Make meta.trans.other/aligned_storage.pass.cpp pass on arm.Nico Weber2014-07-291-3/+11
| | | | | | | | The maximum alignment on arm is 8, not 16 like on x86. Use alignof(max_align_t) to make the test work in both cases. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@210195 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 8f6227938229210d8842b8efaf058fc3b4649a7d)
* Linux: Correctly identify valid error codesDavid Majnemer2014-07-293-3/+14
| | | | | | | | | | | | | | | [syserr.errcat.objects]p4 specifies that system_category().default_error_condition(ev) map to error_condition(posv, generic_category()) if ev could map to a POSIX errno. Linux reserves up to and including 4095 for errno values, use this as a bound. This fixes syserr.errcat.objects/system_category.pass.cpp on Linux. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209795 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 0f5a5124d21cad2ea1278a2aed44bfd40a17b542)
* Fix Bug 19678 - libc++ does not correctly handle the regex: '[^\0]*'Marshall Clow2014-07-292-0/+19
| | | | | git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209307 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 21622af9d798be9c56e9da0ec0187adf75fc2d27)
* Fix bug 19740; round-tripping a pointer through a stream doesn't workMarshall Clow2014-07-292-3/+21
| | | | | git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209305 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 854ad932c8926b373d1dab71b440ac79e3293c4c)
* Fix ctype_base::xdigit for Android.Dan Albert2014-07-291-0/+5
| | | | | | | | Android's ctype implementation comes from openbsd, which for some reason doesn't consider numbers to be hex digits. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@213785 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit d1ab521199792d5b811d4aa779fc04042e95eb3a)
* Remove MIPS workaround for shared text relocations.Stephen Hines2014-07-251-9/+0
| | | | | | | | | | Bug: 14296739 Updates to LLVM and libc++ have removed the remaining spurious shared text relocations from the MIPS build of libc++. We no longer need to disable linker warnings as errors, since we don't trigger the warning. Change-Id: I82ec8c76decc92d93a5ce87d9a172e8cbcdb82b8
* Fix classic_locale for Android.Dan Albert2014-07-221-1/+1
| | | | | | Android's classic_locale begins at _ctype_ + 1. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@213672 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up some bionic compatibility cruft.Dan Albert2014-07-114-190/+0
| | | | | | Brings us closer to matching upstream. Change-Id: Ic5c8449aae88566ecc5382a8d5d27f5095515b82
* Add support for BIONIC C library (Android). Patch from Dan AlbertMarshall Clow2014-07-115-59/+184
| | | | | Change-Id: I9ead4d8a1d16e71d57fdc7696457cfcc3de4f713 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212724 91177308-0d34-0410-b5e6-96231b3b80d8
* am 3bfb9441: Switch to using libc++abi for all platforms.Dan Albert2014-07-073-11/+9
|\ | | | | | | | | * commit '3bfb9441d653a9f8d3986193a7697a7c5b1411e5': Switch to using libc++abi for all platforms.
| * Switch to using libc++abi for all platforms.Dan Albert2014-07-023-11/+9
| | | | | | | | | | | | | | ARM EHABI recently became available in the libc++abi unwinder, so we finally have a solution to exception handling on ARM. Change-Id: Id188e1debb61f09fb4ec64be9a26a08dd8de2118
* | am 2dbbe77c: Exceptions store the message as reference counted string for ↵Joerg Sonnenberger2014-07-073-112/+163
|\| | | | | | | | | | | | | compatibility to libstdc++. Move the implementation into a header for easier sharing with libc++abi. Merge a number of improvements from that version. Provide a POD definition for <stdexcept>\'s * commit '2dbbe77c0fb2d73ca2086aabcae3f4e0e4b2ab70': Exceptions store the message as reference counted string for compatibility to libstdc++. Move the implementation into a header for easier sharing with libc++abi. Merge a number of improvements from that version. Provide a POD definition for <stdexcept>'s public use to avoid cast dances. Discussed with Marshall Clow.
| * Exceptions store the message as reference counted string forJoerg Sonnenberger2014-07-023-112/+163
| | | | | | | | | | | | | | | | | | compatibility to libstdc++. Move the implementation into a header for easier sharing with libc++abi. Merge a number of improvements from that version. Provide a POD definition for <stdexcept>'s public use to avoid cast dances. Discussed with Marshall Clow. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@207695 91177308-0d34-0410-b5e6-96231b3b80d8
* | am e94bd6de: Fix a problem exposed by r208825, which caused bind (and other ↵Marshall Clow2014-06-212-7/+82
|\| | | | | | | | | | | | | bits of libc++) to stop working. And tests * commit 'e94bd6de63a31e034e2ed05aa4a9a1c5a1208482': Fix a problem exposed by r208825, which caused bind (and other bits of libc++) to stop working. And tests
| * Fix a problem exposed by r208825, which caused bind (and other bits of ↵Marshall Clow2014-06-202-7/+82
| | | | | | | | | | | | libc++) to stop working. And tests git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209785 91177308-0d34-0410-b5e6-96231b3b80d8
* | am 3fd578fd: Need to exclude libstdc++ for host buildsDan Albert2014-06-110-0/+0
|\ \ | |/ |/| | | | | * commit '3fd578fd1052893e8071513281141aed0230e7ac': Need to exclude libstdc++ for host builds
| * Need to exclude libstdc++ for host buildsDan Albert2014-06-091-0/+3
| | | | | | | | | | | | (cherry picked from commit 65759667bd45650262d04c71e2987cb33d835eea) Change-Id: I4e8bc93fb72cc701ea46738813e141353beafa52
* | Build host with multilib both enabled.Ian Rogers2014-06-051-0/+2
| | | | | | | | Change-Id: I4ae94f247e9df8e20bf837fd7ff3e6405c7f6e85
* | am 391915d2: Update cstddef after clang r207606.Nico Weber2014-05-301-6/+0
|\ \ | | | | | | | | | | | | * commit '391915d2237ebf087dc4d5609484d6ebdb153fb9': Update cstddef after clang r207606.
| * | Update cstddef after clang r207606.Nico Weber2014-05-291-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r207606 changed the __need_foo macros to behave like they do with gcc: If they are set, _only_ the __need_foo stuff gets defined. As a consequence, cstddef no longer defined "offsetof". It looks like the __need_foo defines aren't needed anymore, so just remove them. Fixes PR19723. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@208942 91177308-0d34-0410-b5e6-96231b3b80d8
* | | am 32ec1ea2: Adds compiler-rt to target buildsDan Albert2014-05-271-2/+2
|\| | | | | | | | | | | | | | * commit '32ec1ea2be124ea5cb3b92faf60d00787ce91d97': Adds compiler-rt to target builds
| * | Adds compiler-rt to target buildsDan Albert2014-05-241-2/+2
| | | | | | | | | | | | Change-Id: I4288b04944acd01b1729442fb275f02fd1ce26d4
* | | am 1721831a: Whoops. Typo.Dan Albert2014-05-241-1/+1
|\| | | | | | | | | | | | | | * commit '1721831a268be6ede16e533fade17837cd405e70': Whoops. Typo.
| * | Whoops. Typo.Dan Albert2014-05-231-1/+1
| | | | | | | | | | | | Change-Id: Ic29f8a8e10893384383f66e356f7d13a3a311907
* | | am 6c2fdb82: Adds static lib targets to libc++Dan Albert2014-05-231-6/+33
|\| | | | | | | | | | | | | | * commit '6c2fdb822e4b1feefe5a7f1829b11be927ee57f9': Adds static lib targets to libc++
| * | Adds static lib targets to libc++Dan Albert2014-05-231-6/+33
| | | | | | | | | | | | Change-Id: I9d4e27cc3627b917e20db91bd8caa03993a036bf
* | | am 9d3a3a78: Exports symbols from libcxxrtDan Albert2014-05-231-4/+3
|\| | | | | | | | | | | | | | * commit '9d3a3a789b80722321e4201d02bbd7b5a261aa32': Exports symbols from libcxxrt
| * | Exports symbols from libcxxrtDan Albert2014-05-221-4/+3
| | | | | | | | | | | | Change-Id: Ie2f2f660425f54999a78e922461c41262bf83f89
* | | am 65759667: Need to exclude libstdc++ for host buildsDan Albert2014-05-221-0/+3
|\| | | |/ |/| | | | | * commit '65759667bd45650262d04c71e2987cb33d835eea': Need to exclude libstdc++ for host builds
| * Need to exclude libstdc++ for host buildsDan Albert2014-05-211-0/+3
| | | | | | | | Change-Id: Ia51a4fdfdbae7377130a43c401c2d8d241671d1e
* | am cd0e9ad8: Merge "libcxxrt moved cxxabi.h from src/ into include/"Dan Albert2014-05-161-2/+2
|\| | | | | | | | | * commit 'cd0e9ad81ecb2ba4ec92258fdf24f137e74100db': libcxxrt moved cxxabi.h from src/ into include/
| * Merge "libcxxrt moved cxxabi.h from src/ into include/"Dan Albert2014-05-161-2/+2
| |\
| | * libcxxrt moved cxxabi.h from src/ into include/Dan Albert2014-05-161-2/+2
| | | | | | | | | | | | Change-Id: I3d781b4f58bb6e2d14ad498aaac4092a48f35107
* | | am 5e2ad74d: Merge "Fix for libcxx.mk"Dan Albert2014-05-161-6/+2
|\| | | | | | | | | | | | | | * commit '5e2ad74d8dac9d0dd36fe2513aed34f2e3b007d9': Fix for libcxx.mk
| * | Merge "Fix for libcxx.mk"Dan Albert2014-05-161-6/+2
| |\ \ | | |/ | |/|
| | * Fix for libcxx.mkDan Albert2014-05-161-6/+2
| | | | | | | | | | | | Change-Id: I1b7b4fd2a9109d9025c4602f88e676e3785c8e36
* | | am 2a269419: Reverts a compatibility change made to two testsDan Albert2014-05-162-2/+2
|\| | | | | | | | | | | | | | * commit '2a269419dceb1c071c5c5ef5c13fbee6040a20dc': Reverts a compatibility change made to two tests
| * | Reverts a compatibility change made to two testsDan Albert2014-05-162-2/+2
| |/ | | | | | | | | | | | | | | | | wctype_t was previously declared as an enum in bionic, preventing direct integer assignment. This has since been made more like other libc's, so we can revert this change. Bug: 14646243 Change-Id: Ie63711b8f6d4f947b8fe3b278f5503495521555d
* | am 9fdc63a6: Disables tests that fail to compileDan Albert2014-05-1318-45/+9
|\| | | | | | | | | * commit '9fdc63a61cd5c96c733c8e7da3044d00d1eea742': Disables tests that fail to compile
| * Disables tests that fail to compileDan Albert2014-05-1318-45/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | math_h, cmath: Fails a static assert because isnan(double) and isinf(double) should be returning bool, but aren't. This is a known problem upstream. http://libcxx.llvm.org/results.Linux.html uchar_h, cuchar, version_cuchar: Bionic does not include this header. According to upstream, this was also a problem with glibc last time they ran their tests. Docs say this is fixed in glibc 2.16. http://libcxx.llvm.org/results.Linux.html wctype_h, cwctype: This one isn't disabled, but did require a fix. The test was casting 0 directly to a wctype_t, which fails because bionic's wctype_t is an enum. From the POSIX spec, it looks like bionic is allowed to do so, and this test should be fixed upstream. cstdio: snprintf is a macro in bionic, which make it impossible for <cstdio> to ::using snprintf. There may be a work around for this. quick_exit: Bionic supports this, but glibc does not. Also becomes available in glibc 2.16. http://libcxx.llvm.org/results.Linux.html max_align_t: Needs investigation. aligned_storage: Needs investigation. Change-Id: I62a5210f6755388dc06cce20d81530a300300bf1
* | am 6f56ab78: Adds a basic test wrapper for AndroidDan Albert2014-05-131115-0/+39037
|\| | | | | | | | | * commit '6f56ab789cb470620554d624c37f488285b3b04e': Adds a basic test wrapper for Android
| * Adds a basic test wrapper for AndroidDan Albert2014-05-121115-0/+39037
| | | | | | | | | | | | | | | | | | | | | | | | | | To run libc++ tests: $ mm $ adb sync $ python runtests.py # runs all host and device tests # see main() for command line options To regenerate all makefiles: $ python makemake.py Change-Id: Ibad78ad8e1bd45f32730d281afa53c2cec55478f
* | am 7d57f1bb: Exports all symbols from libcompiler_rtDan Albert2014-05-121-2/+3
|\| | | | | | | | | * commit '7d57f1bbe2a5e91a6ec904da37f36791856cb93c': Exports all symbols from libcompiler_rt
| * Exports all symbols from libcompiler_rtDan Albert2014-05-121-2/+3
| | | | | | | | Change-Id: I18d627fecef8e5ff96fa009e7a409a199435a317
* | am 12c2891e: Add LOCAL_ADDITIONAL_DEPENDENCIES on Android.mkBrian Carlstrom2014-05-101-0/+2
|\| | | | | | | | | * commit '12c2891e07fe1282ebfffe9714a8b2cfad450642': Add LOCAL_ADDITIONAL_DEPENDENCIES on Android.mk
| * Add LOCAL_ADDITIONAL_DEPENDENCIES on Android.mkBrian Carlstrom2014-05-091-0/+2
| | | | | | | | Change-Id: I46fed92c053ef7a0b8ea0ea023522ffa1875e6ed
* | am 9569f043: Switches ABI from libc++abi to libcxxrtDan Albert2014-05-091-6/+8
|\| | | | | | | | | * commit '9569f04315c59c4347295946dc01eb046bfb1c47': Switches ABI from libc++abi to libcxxrt