[PATCH] D13629: Fix missing INITIALIZE_PASS_DEPENDENCY for AddressSanitizer

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 10 22:24:53 PDT 2015


loladiro created this revision.
loladiro added reviewers: dvyukov, chandlerc.
loladiro added a subscriber: llvm-commits.
loladiro set the repository for this revision to rL LLVM.

In r231241, TargetLibraryInfoWrapperPass was added to `getAnalysisUsage` for `AddressSanitizer`, but the corresponding `INITIALIZE_PASS_DEPENDENCY` was not added. 

Repository:
  rL LLVM

http://reviews.llvm.org/D13629

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp

Index: lib/Transforms/Instrumentation/AddressSanitizer.cpp
===================================================================
--- lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -737,6 +737,7 @@
     "AddressSanitizer: detects use-after-free and out-of-bounds bugs.", false,
     false)
 INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
+INITIALIZE_PASS_DEPENDENCY(TargetLibraryInfoWrapperPass)
 INITIALIZE_PASS_END(
     AddressSanitizer, "asan",
     "AddressSanitizer: detects use-after-free and out-of-bounds bugs.", false,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13629.37046.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151011/510a1082/attachment.bin>


More information about the llvm-commits mailing list