[PATCH] [asan] Change dynamic alloca instrumentation to only consider allocas that are dominating all exits from function.

Evgeniy Stepanov eugenis at google.com
Wed Nov 26 01:45:57 PST 2014


LGTM

================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:660
@@ +659,3 @@
+    false, false)
+INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
+INITIALIZE_PASS_END(AddressSanitizer, "asan",
----------------
On an unrelated note, we should probably do the same for DataLayoutPass dependency.

http://reviews.llvm.org/D6412






More information about the llvm-commits mailing list