| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
So we can do tapas build in the full platform source tree.
Change-Id: I4c64d1007d1e295518ed6338b46d1087714b68aa
(cherry picked from commit 9dd567a7d51065029e7b1c1d3d08bcb00f063c09)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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)
|
|
|
|
|
| |
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209307 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 21622af9d798be9c56e9da0ec0187adf75fc2d27)
|
|
|
|
|
| |
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209305 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 854ad932c8926b373d1dab71b440ac79e3293c4c)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Brings us closer to matching upstream.
Change-Id: Ic5c8449aae88566ecc5382a8d5d27f5095515b82
|
|
|
|
|
| |
Change-Id: I9ead4d8a1d16e71d57fdc7696457cfcc3de4f713
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212724 91177308-0d34-0410-b5e6-96231b3b80d8
|
|\
| |
| |
| |
| | |
* commit '3bfb9441d653a9f8d3986193a7697a7c5b1411e5':
Switch to using libc++abi for all platforms.
|
| |
| |
| |
| |
| |
| |
| | |
ARM EHABI recently became available in the libc++abi unwinder, so we
finally have a solution to exception handling on ARM.
Change-Id: Id188e1debb61f09fb4ec64be9a26a08dd8de2118
|
|\|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
libc++) to stop working. And tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209785 91177308-0d34-0410-b5e6-96231b3b80d8
|
|\ \
| |/
|/|
| |
| | |
* commit '3fd578fd1052893e8071513281141aed0230e7ac':
Need to exclude libstdc++ for host builds
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 65759667bd45650262d04c71e2987cb33d835eea)
Change-Id: I4e8bc93fb72cc701ea46738813e141353beafa52
|
| |
| |
| |
| | |
Change-Id: I4ae94f247e9df8e20bf837fd7ff3e6405c7f6e85
|
|\ \
| | |
| | |
| | |
| | | |
* commit '391915d2237ebf087dc4d5609484d6ebdb153fb9':
Update cstddef after clang r207606.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\| |
| | |
| | |
| | |
| | | |
* commit '32ec1ea2be124ea5cb3b92faf60d00787ce91d97':
Adds compiler-rt to target builds
|
| | |
| | |
| | |
| | | |
Change-Id: I4288b04944acd01b1729442fb275f02fd1ce26d4
|
|\| |
| | |
| | |
| | |
| | | |
* commit '1721831a268be6ede16e533fade17837cd405e70':
Whoops. Typo.
|
| | |
| | |
| | |
| | | |
Change-Id: Ic29f8a8e10893384383f66e356f7d13a3a311907
|
|\| |
| | |
| | |
| | |
| | | |
* commit '6c2fdb822e4b1feefe5a7f1829b11be927ee57f9':
Adds static lib targets to libc++
|
| | |
| | |
| | |
| | | |
Change-Id: I9d4e27cc3627b917e20db91bd8caa03993a036bf
|
|\| |
| | |
| | |
| | |
| | | |
* commit '9d3a3a789b80722321e4201d02bbd7b5a261aa32':
Exports symbols from libcxxrt
|
| | |
| | |
| | |
| | | |
Change-Id: Ie2f2f660425f54999a78e922461c41262bf83f89
|
|\| |
| |/
|/|
| |
| | |
* commit '65759667bd45650262d04c71e2987cb33d835eea':
Need to exclude libstdc++ for host builds
|
| |
| |
| |
| | |
Change-Id: Ia51a4fdfdbae7377130a43c401c2d8d241671d1e
|
|\|
| |
| |
| |
| | |
* commit 'cd0e9ad81ecb2ba4ec92258fdf24f137e74100db':
libcxxrt moved cxxabi.h from src/ into include/
|
| |\ |
|
| | |
| | |
| | |
| | | |
Change-Id: I3d781b4f58bb6e2d14ad498aaac4092a48f35107
|
|\| |
| | |
| | |
| | |
| | | |
* commit '5e2ad74d8dac9d0dd36fe2513aed34f2e3b007d9':
Fix for libcxx.mk
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
Change-Id: I1b7b4fd2a9109d9025c4602f88e676e3785c8e36
|
|\| |
| | |
| | |
| | |
| | | |
* commit '2a269419dceb1c071c5c5ef5c13fbee6040a20dc':
Reverts a compatibility change made to two tests
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '9fdc63a61cd5c96c733c8e7da3044d00d1eea742':
Disables tests that fail to compile
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '6f56ab789cb470620554d624c37f488285b3b04e':
Adds a basic test wrapper for Android
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '7d57f1bbe2a5e91a6ec904da37f36791856cb93c':
Exports all symbols from libcompiler_rt
|
| |
| |
| |
| | |
Change-Id: I18d627fecef8e5ff96fa009e7a409a199435a317
|
|\|
| |
| |
| |
| | |
* commit '12c2891e07fe1282ebfffe9714a8b2cfad450642':
Add LOCAL_ADDITIONAL_DEPENDENCIES on Android.mk
|
| |
| |
| |
| | |
Change-Id: I46fed92c053ef7a0b8ea0ea023522ffa1875e6ed
|
|\|
| |
| |
| |
| | |
* commit '9569f04315c59c4347295946dc01eb046bfb1c47':
Switches ABI from libc++abi to libcxxrt
|