[PATCH] D11179: [asan] Invalid debug info for promotable allocas
Alexey Samsonov
vonosmas at gmail.com
Wed Jul 15 15:12:42 PDT 2015
samsonov added inline comments.
================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:1741
@@ -1736,1 +1740,3 @@
+ for (auto *AI : NonInstrumentedStaticAllocaVec) AI->moveBefore(AllocaVec[0]);
+
----------------
According to logic, this should be `InsBefore`, not `AllocaVec[0]`.
http://reviews.llvm.org/D11179
More information about the llvm-commits
mailing list