llvm-capstone/libcxx
Brian Gesiak 54176d1766 libcxx 'LLVM_USE_SANITIZER=Address;Undefined'
Summary:
Allow users to simultaneously enable address and undefined behavior
sanitizers, in the same manner that LLVM's 'HandleLLVMOptions.cmake'
allows.

Prior to this patch, `cmake -DLLVM_USE_SANITIZER="Address;Undefined"`
would succeed and the build would build most of the LLVM project with
`-fsanitize=address,undefined`, but a warning would be printed by
libcxx's CMake, and the build would use neither sanitizer. This
patch results in no warning being printed, and both sanitizers are used
in building libcxx.

Reviewers: jroelofs, EricWF, ldionne, #libc!

Subscribers: mgorny, dexonsmith, llvm-commits, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D77466
2020-04-04 16:28:41 -04:00
..
benchmarks Revert "[libcxx] Enable C++17 for the benchmarks." 2020-03-12 22:23:46 +01:00
cmake [libc++] Remove support for specifying LIBCXX_CXX_ABI_SYSTEM manually 2020-04-03 14:11:11 -04:00
docs [libc++] NFC: Add documentation for writing tests 2020-04-02 17:14:45 -04:00
fuzzing
include Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
lib [libc++] Add SHA for C++20 Synchronization Library in ABI changelog 2020-03-11 16:13:13 -04:00
src Remove legacy CMake targets for libcxx and libcxxabi 2020-03-30 09:45:21 -04:00
test [libc++] Attempt to workaround module invalidation bug 2020-04-04 03:18:01 -04:00
utils [libc++] Lit: Add default values for most arguments of test executors 2020-04-03 17:52:41 -04:00
www [libc++] [NFC] Test that correct value category is used in scoped_allocator_adaptor::construct 2020-03-23 09:08:05 -07:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt libcxx 'LLVM_USE_SANITIZER=Address;Undefined' 2020-04-04 16:28:41 -04:00
CREDITS.TXT
LICENSE.TXT
NOTES.TXT
TODO.TXT