llvm-project/compiler-rt/test/ubsan/TestCases/Misc
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
..
Linux [UBSan] Embed UBSan into ASan runtime (compiler-rt part). 2015-04-01 22:42:36 +00:00
bool.cpp [UBSan] Try to enable pipefail in UBSan lit tests to make them behave more predictably 2014-07-29 00:30:01 +00:00
bounds.cpp [UBSan] Try to enable pipefail in UBSan lit tests to make them behave more predictably 2014-07-29 00:30:01 +00:00
deduplication.cpp
enum.cpp [UBSan] Try to enable pipefail in UBSan lit tests to make them behave more predictably 2014-07-29 00:30:01 +00:00
missing_return.cpp [Ubsan] Fix the missing_return.cpp test to pass on FreeBSD 2014-11-10 15:27:13 +00:00
nonnull-arg.cpp Update test cases for new -fsanitize-recover= semantics. 2015-01-12 23:02:42 +00:00
nonnull.cpp Report source location of returns_nonnull attribute in UBSan reports. 2014-09-08 20:17:19 +00:00
unreachable.cpp [UBSan] Try to enable pipefail in UBSan lit tests to make them behave more predictably 2014-07-29 00:30:01 +00:00
vla.c