[sanitizer] Support libc++abi in addition to libstdc++
authorPetr Hosek <phosek@chromium.org>
Wed, 26 Jul 2017 01:43:02 +0000 (01:43 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 26 Jul 2017 01:43:02 +0000 (01:43 +0000)
commitc2c3d6b87ba929d457ed50ea8e4caae081d13eae
tree3d963ce4a48531759c189c95f036fcbd182f3478
parentc54b6c881b82faed035c75d9d339a3c2d42d7eba
[sanitizer] Support libc++abi in addition to libstdc++

This change adds sanitizer support for LLVM's libunwind and libc++abi
as an alternative to libstdc++. This allows using the in tree version
of libunwind and libc++abi which is useful when building a toolchain
for different target.

Differential Revision: https://reviews.llvm.org/D34501

llvm-svn: 309074
compiler-rt/CMakeLists.txt
compiler-rt/lib/asan/CMakeLists.txt
compiler-rt/lib/tsan/dd/CMakeLists.txt
compiler-rt/lib/ubsan/CMakeLists.txt