This patch follows Kostya's suggestion in http://reviews.llvm.org/D6055 to only consider dynamic allocas that dominate all exits from function. This would filter out non-trivial cases like allocas inside conditional statements or loops which can not be easily unpoisoned until we have a better solution.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
660 | On an unrelated note, we should probably do the same for DataLayoutPass dependency. |
On an unrelated note, we should probably do the same for DataLayoutPass dependency.