Split ubsan runtime into three pieces (compiler-rt part):
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Mar 2013 23:49:17 +0000 (23:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Mar 2013 23:49:17 +0000 (23:49 +0000)
commite86b7b0bb9c37e75e4fcfef7dfc332695618ed10
treec7c9ec8c05054b613286a792f47019378b978325
parentcff3cde28bc322cc34e6200f990a2eb3e0ea729a
Split ubsan runtime into three pieces (compiler-rt part):
 * libclang_rt-san-* is sanitizer_common, and is linked in only if no other
   sanitizer runtime is present.
 * libclang_rt-ubsan-* is the piece of the runtime which doesn't depend on
   a C++ ABI library, and is always linked in.
 * libclang_rt-ubsan_cxx-* is the piece of the runtime which depends on a
   C++ ABI library, and is only linked in when linking a C++ binary.

The Darwin ubsan runtime is unchanged.

For more details, see Clang change r177605.

llvm-svn: 177606
compiler-rt/lib/sanitizer_common/CMakeLists.txt
compiler-rt/lib/ubsan/CMakeLists.txt
compiler-rt/lib/ubsan/Makefile.mk
compiler-rt/make/platform/clang_linux.mk