llvm-project/llvm/lib/Transforms/Instrumentation
Etienne Bergeron 752f8839a4 [compiler-rt] Avoid instrumenting sanitizer functions
Summary:
Function __asan_default_options is called by __asan_init before the
shadow memory got initialized. Instrumenting that function may lead
to flaky execution.

As the __asan_default_options is provided by users, we cannot expect
them to add the appropriate function atttributes to avoid
instrumentation.

Reviewers: kcc, rnk

Subscribers: dberris, chrisha, llvm-commits

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

llvm-svn: 281503
2016-09-14 17:18:37 +00:00
..
AddressSanitizer.cpp [compiler-rt] Avoid instrumenting sanitizer functions 2016-09-14 17:18:37 +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