summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2018-10-26 22:51:51 +0000
committerLeonard Chan <leonardchan@google.com>2018-10-26 22:51:51 +0000
commiteebecb3214eef1137c97d269d7f1691250bd5560 (patch)
tree3539fa8bdc3b07c57091dbd7a31504e530473c94 /llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
parentf239a44ac90f04099bfe20bf795f2ad2b5888af4 (diff)
downloadbcm5719-llvm-eebecb3214eef1137c97d269d7f1691250bd5560.tar.gz
bcm5719-llvm-eebecb3214eef1137c97d269d7f1691250bd5560.zip
Revert "[PassManager/Sanitizer] Enable usage of ported AddressSanitizer passes with -fsanitize=address"
This reverts commit 8d6af840396f2da2e4ed6aab669214ae25443204 and commit b78d19c287b6e4a9abc9fb0545de9a3106d38d3d which causes slower build times by initializing the AddressSanitizer on every function run. The corresponding revisions are https://reviews.llvm.org/D52814 and https://reviews.llvm.org/D52739. llvm-svn: 345433
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/Instrumentation.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/Instrumentation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
index 55b449ffca1..16976ef90ce 100644
--- a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
+++ b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
@@ -88,8 +88,8 @@ Comdat *llvm::GetOrCreateFunctionComdat(Function &F,
/// initializeInstrumentation - Initialize all passes in the TransformUtils
/// library.
void llvm::initializeInstrumentation(PassRegistry &Registry) {
- initializeAddressSanitizerLegacyPassPass(Registry);
- initializeAddressSanitizerModuleLegacyPassPass(Registry);
+ initializeAddressSanitizerPass(Registry);
+ initializeAddressSanitizerModulePass(Registry);
initializeBoundsCheckingLegacyPassPass(Registry);
initializeControlHeightReductionLegacyPassPass(Registry);
initializeGCOVProfilerLegacyPassPass(Registry);
OpenPOWER on IntegriCloud