Re-land 242726 to use RAII to do cleanup
authorReid Kleckner <reid@kleckner.net>
Tue, 21 Jul 2015 17:40:14 +0000 (17:40 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 21 Jul 2015 17:40:14 +0000 (17:40 +0000)
commit90a1b93e9fc6575194868dea124ec492e88502a7
tree72a69e251301ef8af69866da7ad5eec1de189879
parentd0db907e732e4a3d0c3acbd9b2b1768e6c10641e
Re-land 242726 to use RAII to do cleanup

The LooksLikeCodeInBug11395() codepath was returning without clearing
the ProcessedAllocas cache.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242809 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/localescape.ll [new file with mode: 0644]