llvm-project/compiler-rt/make
Alexey Samsonov 09dce3b7e5 [UBSan] Embed UBSan into ASan runtime (compiler-rt part).
Summary:
Change the way we use ASan and UBSan together. Instead of keeping two
separate runtimes (libclang_rt.asan and libclang_rt.ubsan), embed UBSan
into ASan and get rid of libclang_rt.ubsan. If UBSan is not supported on
a platform, all UBSan sources are just compiled into dummy empty object
files. UBSan initialization code (e.g. flag parsing) is directly called
from ASan initialization, so we are able to enforce correct
initialization order.

This mirrors the approach we already use for ASan+LSan. This change
doesn't modify the way we use standalone UBSan.

Test Plan: regression test suite

Reviewers: kubabrecka, zaks.anna, rsmith, kcc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8646

llvm-svn: 233861
2015-04-01 22:42:36 +00:00
..
platform [UBSan] Embed UBSan into ASan runtime (compiler-rt part). 2015-04-01 22:42:36 +00:00
test Add support for "platform" configurations, which define a suite of compiler-rt 2010-01-18 06:49:33 +00:00
AppleBI.mk Push back various changes for building Apple's compiler-rt dylib. 2013-11-03 07:06:29 +00:00
config.mk One more attempt to fix Makefile build 2014-03-19 15:26:54 +00:00
filter-inputs
lib_info.mk Automatically create .dSYM for libcompiler_rt.dylib when using Apple's internal build system 2012-11-26 22:48:51 +00:00
lib_platforms.mk Allow UniversalArchs variable to be overridden on a per-config basis. 2010-01-19 00:01:15 +00:00
lib_util.mk Add support for "platform" configurations, which define a suite of compiler-rt 2010-01-18 06:49:33 +00:00
options.mk Automatically create .dSYM for libcompiler_rt.dylib when using Apple's internal build system 2012-11-26 22:48:51 +00:00
subdir.mk Move original compiler-rt functions (libgcc replacement) to lib/builtins directory 2014-02-14 09:20:33 +00:00
util.mk make: Add CheckCommandLineOverrides to my little Makefile library, a routine for 2010-10-14 21:23:37 +00:00