llvm-project/llvm/lib/Transforms/Instrumentation
Kuba Brecka a1ea64a044 [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (llvm part)
The '-asan-use-private-alias’ option (disabled by default) option is currently only enabled for Linux and ELF, but it also works on Darwin and Mach-O. This option also fixes a known problem with LTO on Darwin (https://github.com/google/sanitizers/issues/647). This patch enables the support for Darwin (but still keeps it off by default) and adds the LTO test case.

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

llvm-svn: 281470
2016-09-14 14:06:33 +00:00
..
AddressSanitizer.cpp [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (llvm part) 2016-09-14 14:06:33 +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 Revert "[EfficiencySanitizer] Adds shadow memory parameters for 40-bit virtual memory address." 2016-09-07 10:54:42 +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 Consistently use ModuleAnalysisManager 2016-08-09 00:28:38 +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 [Profile] Fix edge count read bug 2016-08-19 06:31:45 +00:00
SanitizerCoverage.cpp [sanitizer-coverage] add yet another flavour of coverage instrumentation: trace-pc-guard. The intent is to eventually replace all of {bool coverage, 8bit-counters, trace-pc} with just this one. LLVM part 2016-09-14 01:39:35 +00:00
ThreadSanitizer.cpp Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00