]> granicus.if.org Git - clang/commit
[UBSan] Introduce "ubsan_standalone" library (Clang part).
authorAlexey Samsonov <vonosmas@gmail.com>
Mon, 23 Mar 2015 20:05:42 +0000 (20:05 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Mon, 23 Mar 2015 20:05:42 +0000 (20:05 +0000)
commitc9c173402ae761836c243b158931ca8684825478
tree00cfce3d1468b9fe41025707eb586ff3a5c846cf
parent390c646ee58cb8275f7c616f1dfd672da4771d41
[UBSan] Introduce "ubsan_standalone" library (Clang 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/sanitizer-ld.c