[PATCH] D53350: [Sanitizer][PassManager] Fix for failing ASan tests on ARM
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 16 17:18:15 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL344659: [Sanitizer][PassManager] Fix for failing ASan tests on arm-linux-gnueabihf (authored by leonardchan, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D53350?vs=169922&id=169930#toc
Repository:
rL LLVM
https://reviews.llvm.org/D53350
Files:
llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Index: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -1056,7 +1056,9 @@
bool Recover = false,
bool UseAfterScope = false)
: FunctionPass(ID), CompileKernel(CompileKernel), Recover(Recover),
- UseAfterScope(UseAfterScope) {}
+ UseAfterScope(UseAfterScope) {
+ initializeAddressSanitizerLegacyPassPass(*PassRegistry::getPassRegistry());
+ }
StringRef getPassName() const override {
return "AddressSanitizerFunctionPass";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53350.169930.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181017/a145c31f/attachment.bin>
More information about the llvm-commits
mailing list