llvm-project/llvm/lib/Transforms/Instrumentation
Mehdi Amini 6610b01a27 [ASAN] Add the binder globals on Darwin to llvm.compiler.used to avoid LTO dead-stripping
The binder is in a specific section that "reverse" the edges in a
regular dead-stripping: the binder is live as long as a global it
references is live.

This is a big hammer that prevents LLVM from dead-stripping these,
while still allowing linker dead-stripping (with special knowledge
of the section).

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

llvm-svn: 282988
2016-10-01 00:05:34 +00:00
..
AddressSanitizer.cpp [ASAN] Add the binder globals on Darwin to llvm.compiler.used to avoid LTO dead-stripping 2016-10-01 00:05:34 +00:00
BoundsChecking.cpp Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
CFGMST.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CMakeLists.txt [PGO] Promote indirect calls to conditional direct calls with value-profile 2016-04-27 23:20:27 +00:00
DataFlowSanitizer.cpp Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
EfficiencySanitizer.cpp [EfficiencySanitizer] Using '$' instead of '#' for struct counter name 2016-09-22 08:33:06 +00:00
GCOVProfiling.cpp Add cast to appease windows builder. Fixes build break introduced in r280306. 2016-08-31 23:24:43 +00:00
IndirectCallPromotion.cpp Fix some Clang-tidy modernize and Include What You Use warnings. 2016-08-11 17:20:18 +00:00
InstrProfiling.cpp [Profile] code refactoring: make getStep a method in base class 2016-09-20 19:07:22 +00:00
Instrumentation.cpp [PM] code refactoring /NFC 2016-06-05 03:40:03 +00:00
LLVMBuild.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
MaximumSpanningTree.h
MemorySanitizer.cpp [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable. 2016-08-16 12:55:38 +00:00
PGOInstrumentation.cpp code cleanup -- commoning IR travsersals 2016-09-20 22:39:47 +00:00
SanitizerCoverage.cpp [sanitizer-coverage/libFuzzer] make the guards for trace-pc 32-bit; create one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals 2016-09-29 17:43:24 +00:00
ThreadSanitizer.cpp Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00