OSDN Git Service

[asan] make sure asan erases old unused allocas after it created a new one. This...
authorKostya Serebryany <kcc@google.com>
Fri, 19 Oct 2012 06:20:53 +0000 (06:20 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 19 Oct 2012 06:20:53 +0000 (06:20 +0000)
commitbd0052a0f26f04b8fcf59e8f645e5e33751e1f6e
treeabadccd16f7d0ee24be4554fad2307dd2996fcd8
parent725f1d12801109a3b1d081a6e1c9e44426b2cf34
[asan] make sure asan erases old unused allocas after it created a new one. This became important after the recent move from ModulePass to FunctionPass because no cleanup is happening after asan pass any more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/basic.ll