[UBSan] Introduce "ubsan_standalone" library (compiler-rt part).
authorAlexey Samsonov <vonosmas@gmail.com>
Mon, 23 Mar 2015 20:05:53 +0000 (20:05 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Mon, 23 Mar 2015 20:05:53 +0000 (20:05 +0000)
commit6a7ee6f460892dd7993979f02b7a604f2998759b
tree9d048ea23d0117b27c73568dc15e0d45e1c1bc5f
parent3ae177cdb340c5bfb86d5a08b6a51a103564e490
[UBSan] Introduce "ubsan_standalone" library (compiler-rt part).

Get rid of "libclang_rt.san" library that used to contain
sanitizer_common pieces required by UBSan if it's used in a standalone
mode. Instead, build two variants of UBSan runtime: "ubsan" and
"ubsan_standalone" (same for "ubsan_cxx" and "ubsan_standalone_cxx").

Later "ubsan" and "ubsan_cxx" libraries will go away, as they will
embedded it into corresponding ASan runtimes.

llvm-svn: 233011
compiler-rt/lib/sanitizer_common/CMakeLists.txt
compiler-rt/lib/ubsan/CMakeLists.txt