llvm-project/compiler-rt/test
Reid Kleckner 39950b0f92 [asan] Create a .ASAN$G(A-Z) section for global registration
Summary:
The expectation is that new instrumented code will add global variable
metadata to the .ASAN$GL section, and we will use this new code to
iterate over it.

This technique seems to break when using incremental linking, which
seems to align every global to a 256 byte boundary. Presumably this is
so that it can incrementally cope with global changing size. Clang
already passes -incremental:no as a linker flag when you invoke it to do
the link step.

The two tests added for this feature will fail until the LLVM
instrumentation change in D26770 lands, so they are marked XFAIL for
now.

Reviewers: pcc, kcc, mehdi_amini, kubabrecka

Subscribers: llvm-commits, mgorny

Differential Revision: https://reviews.llvm.org/D26771

llvm-svn: 287246
2016-11-17 19:02:53 +00:00
..
BlocksRuntime
asan [asan] Create a .ASAN$G(A-Z) section for global registration 2016-11-17 19:02:53 +00:00
builtins [compiler-rt][tests] cpu_model_test.c test fails to compile if X86 is not clang's default target 2016-08-18 14:39:39 +00:00
cfi [cfi] Mark tests as xfailing on Darwin 2016-11-14 23:12:52 +00:00
dfsan [mips] XFAIL the new mips64el compiler-rt tests that fail on clang-cmake-mipsel. 2016-08-12 11:56:36 +00:00
esan [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
interception [Darwin] Exclude interception union tests on Darwin and Android 2016-08-04 04:46:39 +00:00
lsan [lsan] [aarch64] Fix printing of pointers in make check tests - update 2016-11-14 11:40:56 +00:00
msan [MSAN][MIPS] Fix test Linux/syscalls_sigaction.cc on mips64 2016-11-11 12:05:30 +00:00
profile [profile] Mark lprofCurFilename as COMPILER_RT_WEAK 2016-10-18 00:02:28 +00:00
safestack [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (compiler-rt part) 2016-09-14 14:09:18 +00:00
sanitizer_common [lsan] [aarch64] Fix printing of pointers in make check tests - update 2016-11-14 11:40:56 +00:00
scudo [scudo] Lay the foundation for 32-bit support 2016-10-26 16:16:58 +00:00
tsan [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), compiler-rt part 2016-11-14 21:41:33 +00:00
ubsan [ubsan] Fix vptr.cpp test to be more resilient. NFC. 2016-10-26 16:02:36 +00:00
xray [compiler-rt][XRay] Initial per-thread inmemory logging implementation 2016-08-26 06:39:33 +00:00
CMakeLists.txt [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initialization 2016-11-14 17:37:50 +00:00
lit.common.cfg Force the locale when executing ld gold 2016-11-11 17:46:51 +00:00
lit.common.configured.in cfi: Fixes for check-cfi when configured as an external project. 2016-09-22 20:51:48 +00:00