summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-21Snap for 4657601 from b927dfb990539740df0d6c0b953fdbc20f1b4ba9 to oc-m4-releaseandroid-8.1.0_r67android-8.1.0_r65android-8.1.0_r64android-8.1.0_r63android-8.1.0_r62android-8.1.0_r61android-8.1.0_r60android-8.1.0_r53android-8.1.0_r51android-8.1.0_r48android-8.1.0_r45android-8.1.0_r42android-8.1.0_r40android-8.1.0_r39android-8.1.0_r38android-8.1.0_r37android-8.1.0_r32android-8.1.0_r31android-8.1.0_r29android-8.1.0_r28android-8.1.0_r27oreo-m8-releaseoreo-m4-s9-releaseoreo-m4-s8-releaseoreo-m4-s7-releaseoreo-m4-s6-releaseoreo-m4-s5-releaseoreo-m4-s4-releaseoreo-m4-s3-releaseoreo-m4-s2-releaseoreo-m4-s12-releaseoreo-m4-s11-releaseoreo-m4-s10-releaseandroid-build-team Robot
Change-Id: I9bee76d86fb9ef498434e6db9eb81c9627cd737e
2017-10-09Snap for 4384531 from ce5713bb2a25866b4b87b1eb5c1f4946d60d9120 to oc-m2-releaseandroid-8.1.0_r8android-8.1.0_r52android-8.1.0_r50android-8.1.0_r47android-8.1.0_r46android-8.1.0_r43android-8.1.0_r41android-8.1.0_r36android-8.1.0_r35android-8.1.0_r33android-8.1.0_r30android-8.1.0_r26android-8.1.0_r25android-8.1.0_r20android-8.1.0_r2oreo-m7-releaseoreo-m6-s4-releaseoreo-m6-s3-releaseoreo-m6-s2-releaseoreo-m2-s5-releaseoreo-m2-s4-releaseoreo-m2-s3-releaseoreo-m2-s2-releaseoreo-m2-s1-releaseoreo-m2-releaseandroid-build-team Robot
Change-Id: I6f7b7f79c40d81df8a28e1d1995236aaf96b8648
2017-10-03Snap for 4373604 from 91a5509aafad5c30fbd321b1eba8ec49757c8c56 to oc-mr1-releaseandroid-wear-8.1.0_r1android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10android-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82android-cts-8.1_r9android-cts-8.1_r8android-cts-8.1_r7android-cts-8.1_r6android-cts-8.1_r5android-cts-8.1_r4android-cts-8.1_r3android-cts-8.1_r25android-cts-8.1_r24android-cts-8.1_r23android-cts-8.1_r22android-cts-8.1_r21android-cts-8.1_r20android-cts-8.1_r2android-cts-8.1_r19android-cts-8.1_r18android-cts-8.1_r17android-cts-8.1_r16android-cts-8.1_r15android-cts-8.1_r14android-cts-8.1_r13android-cts-8.1_r12android-cts-8.1_r11android-cts-8.1_r10android-cts-8.1_r1android-8.1.0_r81android-8.1.0_r80android-8.1.0_r79android-8.1.0_r78android-8.1.0_r77android-8.1.0_r76android-8.1.0_r75android-8.1.0_r74android-8.1.0_r73android-8.1.0_r72android-8.1.0_r71android-8.1.0_r70android-8.1.0_r69android-8.1.0_r68android-8.1.0_r66android-8.1.0_r6android-8.1.0_r5android-8.1.0_r4android-8.1.0_r3android-8.1.0_r23android-8.1.0_r19android-8.1.0_r16android-8.1.0_r15android-8.1.0_r12android-8.1.0_r11android-8.1.0_r10android-8.1.0_r1security-oc-mr1-releaseoreo-mr1-wear-releaseoreo-mr1-vts-releaseoreo-mr1-security-releaseoreo-mr1-s1-releaseoreo-mr1-releaseoreo-mr1-cuttlefish-testingoreo-mr1-cts-releaseoreo-m4-s1-releaseandroid-build-team Robot
Change-Id: I45e9a25d155144772a0e19118645a56921454241
2017-04-12Mark as vendor_available am: 6705962b2boreo-mr1-devoreo-dr1-devDan Willemsen
am: 324bc2a10c Change-Id: I371c21096a630a466029e2b2207676f99fc798ca
2017-04-12Mark as vendor_availableandroid-o-mr1-preview-2android-o-mr1-preview-1Dan Willemsen
am: 6705962b2b Change-Id: Ibce370423c7dd1824950fc607e5a5435d67b14c4
2017-04-12Mark as vendor_available am: c41479a1d7 am: 198d844558 am: 70a7b267a0Dan Willemsen
am: 6f23fe49ee Change-Id: Ie88bdb4ed64fa68ee019fbc604e3e3cb89bd36b1
2017-04-12Mark as vendor_available am: c41479a1d7 am: 198d844558Dan Willemsen
am: 70a7b267a0 Change-Id: I41b486be718e8de755ebde9fe9cc6c92b54ef5b2
2017-04-12Mark as vendor_available am: c41479a1d7Dan Willemsen
am: 198d844558 Change-Id: Ic7c11030401cdec1645b2b3a8fde0ad42c6420a4
2017-04-12Mark as vendor_availableDan Willemsen
am: c41479a1d7 Change-Id: I04b541c90fb43dc3dc3a1f1ab4ffe6206b2af17f
2017-04-11Mark as vendor_availableandroid-vts-8.0_r2android-vts-8.0_r1oreo-devDan Willemsen
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: Android-aosp_arm.mk is the same before/after Test: build.ninja is the same before/after Test: build-aosp_arm.ninja is the same before/after Test: attempt to compile with BOARD_VNDK_VERSION := current Merged-In: If1f75688d3fd42aaaf6b150771573d0d6f3afb34 Change-Id: If1f75688d3fd42aaaf6b150771573d0d6f3afb34
2017-04-10Mark as vendor_availableandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-iot-preview-5android-n-iot-preview-4o-iot-preview-5n-iot-preview-4Dan Willemsen
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: Android-aosp_arm.mk is the same before/after Test: build.ninja is the same before/after Test: build-aosp_arm.ninja is the same before/after Test: attempt to compile with BOARD_VNDK_VERSION := current Change-Id: If1f75688d3fd42aaaf6b150771573d0d6f3afb34
2017-01-31Fix Android.bp for renamed files. am: 9dd52f4300 am: 8d9a316d1f am: 714425abe0Dan Albert
am: 80aa93fba4 Change-Id: I38d12b22ef92171afc974afade0e1222f7f1d4f3
2017-01-31Merge to upstream r293166. am: 467bf41d66 am: 444d5607de am: 838ac37536Dan Albert
am: 72c474b3d4 Change-Id: I1752c3a84311767cd9dea2f7d4ee51f6262bd3ca
2017-01-31Fix Android.bp for renamed files. am: 9dd52f4300 am: 8d9a316d1fDan Albert
am: 714425abe0 Change-Id: If8cbaf672d3188315488b6f43765636d52fc1cb9
2017-01-31Merge to upstream r293166. am: 467bf41d66 am: 444d5607deDan Albert
am: 838ac37536 Change-Id: Ifad782f0eb70b3080b6c8e745339890a6c3f9b98
2017-01-31Fix Android.bp for renamed files. am: 9dd52f4300Dan Albert
am: 8d9a316d1f Change-Id: Icb0d38ee6a09d6ae0f55df2777e7780aeb22afae
2017-01-31Merge to upstream r293166. am: 467bf41d66Dan Albert
am: 444d5607de Change-Id: Id4afc32692cbd67eea2f16353c2c4d5c6d6eb1f1
2017-01-31Fix Android.bp for renamed files.Dan Albert
am: 9dd52f4300 Change-Id: I427e66958539a7cddee95a2cb07055c3b80c1b9b
2017-01-31Merge to upstream r293166.Dan Albert
am: 467bf41d66 Change-Id: I43b79df2cd36b39e8942f17aa6b2efedbde5d6f0
2017-01-27Fix Android.bp for renamed files.android-o-preview-1android-n-mr2-preview-2o-previewDan Albert
Test: make checkbuild && external/libcxx/run_tests.py # sailfish Bug: http://b/34740564 Change-Id: I5efb90de72aac013de04f7d4099ea2a0ecdd6e7f
2017-01-27Merge to upstream r293166.Dan Albert
There are some demangler bugfixes included here that are needed for passing the libc++ tests. Bug: http://b/34740564 Test: make checkbuild && external/libcxx/run_tests.py # saifish Change-Id: I2f102126d532a18f1ad26d87f8e3915bb50f1bb9
2017-01-26Fix chromium build (libcxxabi)Asiri Rathnayake
Pull the dependency on pthread_mach_thread_np() back into libcxxabi. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@293166 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-24cxa_demangle: fix rvalue ref checkSaleem Abdulrasool
When checking if the type is a r-value ref, we would not do a complete check. This would result in us treating a trailing parameter reference `&)` as a r-value ref, and improperly inject the cv qualifier on the type. We now correctly demangle the type `KFvRmE` as a constant function rather than a constant reference. Fixes PR31741! git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292973 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-24cxa_demangle: avoid butchering the last parameter typeSaleem Abdulrasool
Fix an off-by-one case which would destroy the final parameter in a CV-qualified function type with a reference. We still get the CV qualification incorrect, but at least we do not clobber the type name any longer. Partially fixes PR31741. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292963 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-24Remove all usages of REQUIRES-ANY in the test suite.Eric Fiselier
Pending LIT changes are about to remove the REQUIRES-ANY keyword in place of supporting boolean && and || within "REQUIRES". This patch prepares libc++ for that change so that when applied the bots don't lose their mind. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292906 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-20Fix catch_reference_nullptr.pass.cpp test for GCC.Eric Fiselier
This test contained an implicit conversion from nullptr to bool. Clang warns about this but the test had supressed that warning. However GCC diagnoses the same code as an error and requires -fpermissive to accept it. This patch fixes both the warning and the error by explicitly converting the pointer to bool. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292638 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-18Revert r286788Jonathan Roelofs
The Itanium ABI [1] specifies that __cxa_demangle accept either: 1) symbol names, which start with "_Z" 2) type manglings, which do not start with "_Z" r286788 erroneously assumes that it should only handle symbols, so this patch reverts it and adds a counterexample to the testcase. 1: https://mentorembedded.github.io/cxx-abi/abi.html#demangler Reviewers: zygoloid, EricWF git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292418 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-16Mark the dynamic-exception tests as unsupported under C++17, since it has no ↵Marshall Clow
dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292135 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-14[cmake] Handle missing LIBUNWIND_* directories gracefullyMichal Gorny
Add LIBUNWIND_* directories to include path only if they were actually found, in order to fix the CMake error. Both of the directories are usually unnecessary since libcxxabi uses only the common part of unwind.h that is supplied both by GCC and Clang. Differential Revision: https://reviews.llvm.org/D25314 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292018 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-14Don't dump llvm-config --cmakedir output if command fails.Eric Fiselier
This patch adjusts the out-of-tree CMake configuration so that the stderr output is ignored when an old llvm-config is found that doesn't support --cmakedir. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291993 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-13[libc++abi] Add a silent terminate handler to libcxxabi.James Y Knight
The current std::terminate_handler pulls in some string code, some I/O code, and more. Since it is automatically setup as the default, this means that any trivial binary linking against libcxxabi will get this extra bloat. This patch allows disabling it as a build-time option, if you want to avoid the extra bloat. Patch by Tom Rybka! Reviewers: EricWF Subscribers: danalbert, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D28497 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291946 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-12Bump version to 5.0.0svnHans Wennborg
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291829 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-09[cmake] Obtain LLVM_CMAKE_PATH from llvm-config if availableMichal Gorny
Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from llvm-config. Fallback to local reconstruction if llvm-config does not support this option. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291506 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-09[libcxxabi] Cleanup and adapt for r291275. NFC.Asiri Rathnayake
+ Now that libcxxabi shares the same threading API as libcxx, a whole chunk of code in src/config.h is made redundant (I missed this earlier). + r291275 split off the externalized-thread-api libcxx configuration from the external-thread-library libcxx configuration. libcxxabi should follow the same approach. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291440 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-08[libcxxabi] Enable tests by default in standalone.Bryant Wong
Tests targets will now be enabled by default when building libcxxabi out of tree (unless turned off with LIBCXXABI_INCLUDE_TESTS=OFF). Differential Revision: https://reviews.llvm.org/D28450 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291378 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-07[libcxxabi] Add flag to conditionally enable testsBryant Wong
Differential Revision: https://reviews.llvm.org/D28449 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@291367 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-04tweak definition to avoid GCC warningSaleem Abdulrasool
Use an `extern "C" { }` block around the definition rather than doing the inline definition. This avoids a GCC warning about a declaration being extern and having a definition. NFC. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290937 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-03[libcxxabi] Introduce an externally threaded libc++abi variant.Asiri Rathnayake
r281179 Introduced an externally threaded variant of the libc++ library. This patch adds support for a similar library variant for libc++abi. Differential revision: https://reviews.llvm.org/D27575 Reviewers: EricWF git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290888 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-03Update LICENSE.TXT to 2017Eric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290877 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-03Fix new/delete exception specifications to match libc++ after r290845Eric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290847 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-31clean up `-Wmisleading-indentation` warningSaleem Abdulrasool
Clean up the misleading indentation warning from GCC 6. NFC git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290788 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-28add cxa_demangle_fuzzerKostya Serebryany
Summary: All easy-to-find bugs in cxa_demangle where fixed now (https://bugs.chromium.org/p/chromium/issues/detail?id=606626) except for one (https://llvm.org/bugs/show_bug.cgi?id=31031). Now I'd like to properly integrate this fuzzer with the source tree and then run the fuzzer continuously on https://github.com/google/oss-fuzz Reviewers: compnerd, mclow.lists, mehdi_amini Subscribers: cfe-commits, mgorny Differential Revision: https://reviews.llvm.org/D28133 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290650 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-24Suppress unreachable code warning in unwind testsEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290487 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-24Fix warnings in libc++abi testsEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290471 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[libc++abi] Mark failing test on Darwin as XFAILShoaib Meenai
The macOS thread-local variable finalizer routines do not handle the case where a termination function registers another termination function correctly, causing this test to fail. I've filed a radar for this; mark the test XFAIL in the meantime. See [1] for more details. [1] http://lists.llvm.org/pipermail/cfe-dev/2016-November/051376.html Differential Revision: https://reviews.llvm.org/D27434 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@289513 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-11Fix signed comparison warningEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@289365 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-11Workaround the removal of dynamic exception specifications in C++17Eric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@289353 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-05[libc++abi] Add _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONSShoaib Meenai
It's useful to be able to disable visibility annotations entirely; for example, if we're building libc++abi static to include in another library, and we don't want any libc++abi functions getting exported out of that library. This is a generalization of _LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT. Differential Revision: https://reviews.llvm.org/D26950 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@288692 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02Check for SD-6 feature test macro when determining which tests should beRichard Smith
available, rather than #ifdef'ing away the relevant tests if it's unavailable. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@288543 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02Fix up r288457 for compilers that don't support noexcept function types:Richard Smith
disable the test entirely for those cases. This is a quick patch, I'll look at a proper feature flag next. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@288539 91177308-0d34-0410-b5e6-96231b3b80d8