hanchenye-llvm-project/compiler-rt/test
Reid Kleckner 4fb3502bc9 [InstrProf] Use separate comdat group for data and counters
Summary:
I hadn't realized that instrumentation runs before inlining, so we can't
use the function as the comdat group. Doing so can create relocations
against discarded sections when references to discarded __profc_
variables are inlined into functions outside the function's comdat
group.

In the future, perhaps we should consider standardizing the comdat group
names that ELF and COFF use. It will save object file size, since
__profv_$sym won't appear in the symbol table again.

Reviewers: xur, vsk

Subscribers: eraman, hiraditya, cfe-commits, #sanitizers, llvm-commits

Tags: #clang, #sanitizers, #llvm

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

llvm-svn: 355044
2019-02-27 23:38:44 +00:00
..
BlocksRuntime Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
asan [hwasan, asan] Intercept vfork. 2019-02-27 21:11:50 +00:00
builtins Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cfi compiler-rt tests: Unbreak cmake with LLVM_ENABLE_PIC=OFF on mac 2019-01-16 20:36:27 +00:00
dfsan Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
esan [Esan] Port cache frag to FreeBSD 2018-10-04 20:58:18 +00:00
fuzzer [libFuzzer][Windows] Port fork mode to Windows 2019-02-27 19:27:16 +00:00
hwasan [hwasan, asan] Intercept vfork. 2019-02-27 21:11:50 +00:00
interception
lsan [test] Detect glibc-2.27+ and XFAIL appropriate tests 2019-01-09 13:27:29 +00:00
msan Revert "[compiler-rt] Intercept the bcmp() function." 2019-02-26 18:28:15 +00:00
profile [InstrProf] Use separate comdat group for data and counters 2019-02-27 23:38:44 +00:00
safestack compiler-rt tests: Unbreak cmake with LLVM_ENABLE_PIC=OFF on mac 2019-01-16 20:36:27 +00:00
sanitizer_common [Darwin][NFC] Refactor throttling of 64bit sanitizer tests on Darwin 2019-02-27 19:06:20 +00:00
scudo [sanitizer] Remove "-android" from test_arch. 2019-02-25 22:32:30 +00:00
shadowcallstack [scs] Disable negative test in shadowcallstack. 2018-06-29 15:16:45 +00:00
tsan [Darwin][NFC] Refactor throttling of 64bit sanitizer tests on Darwin 2019-02-27 19:06:20 +00:00
ubsan [Sanitizer] iOS: Pull up parallelism_group handling into common.lit.config 2019-02-15 22:12:36 +00:00
ubsan_minimal [compiler-rt][UBSan] Sanitization for alignment assumptions. 2019-01-15 09:44:27 +00:00
xray Add header <atomic> which is needed to compile with some older library versions. 2018-11-21 08:54:40 +00:00
.clang-format [compiler-rt] Use "ColumnLimit: 0" instead of "clang-format off" in tests 2018-12-01 01:24:29 +00:00
CMakeLists.txt [CMake] Avoid internal dependencies in the runtimes build 2019-02-12 04:13:58 +00:00
lit.common.cfg [Darwin][NFC] Refactor throttling of 64bit sanitizer tests on Darwin 2019-02-27 19:06:20 +00:00
lit.common.configured.in gn build: Upgrade to NDK r19. 2019-02-05 05:10:19 +00:00