hanchenye-llvm-project/compiler-rt/make/platform
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
..
clang_darwin.mk [UBSan] Embed UBSan into ASan runtime (compiler-rt part). 2015-04-01 22:42:36 +00:00
clang_darwin_test_input.c
clang_linux.mk build: remove the stub linux SDK 2015-02-28 20:30:11 +00:00
clang_linux_test_input.c
clang_macho_embedded.mk Fix typos 2014-05-15 02:22:34 +00:00
clang_macho_embedded_test_input.c Macho-embedded: update build script for newer Clang behaviour. 2014-01-21 12:38:02 +00:00
darwin_bni.mk Add 64-bit multiply functions to iOS arm64 compiler-rt dylib 2015-01-06 00:27:21 +00:00
multi_arch.mk