forked from OSchip/llvm-project
8ed1d8196b
Currently, the ASan executables built with -O0 are unnecessarily slow. The main reason is that ASan instrumentation pass inserts redundant checks around promotable allocas. These allocas do not get instrumented under -O1 because they get converted to virtual registered by mem2reg. With this patch, ASan instrumentation pass will only instrument non promotable allocas, giving us a speedup of 39% on a collection of benchmarks with -O0. (There is no measurable speedup at -O1.) llvm-svn: 230724 |
||
---|---|---|
.. | ||
AddressSanitizer.cpp | ||
BoundsChecking.cpp | ||
CMakeLists.txt | ||
DataFlowSanitizer.cpp | ||
GCOVProfiling.cpp | ||
InstrProfiling.cpp | ||
Instrumentation.cpp | ||
LLVMBuild.txt | ||
Makefile | ||
MaximumSpanningTree.h | ||
MemorySanitizer.cpp | ||
SanitizerCoverage.cpp | ||
ThreadSanitizer.cpp |