[asan] make AddressSanitizer to be a FunctionPass instead of ModulePass. This will...
authorKostya Serebryany <kcc@google.com>
Mon, 15 Oct 2012 14:20:06 +0000 (14:20 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 15 Oct 2012 14:20:06 +0000 (14:20 +0000)
commitee4edeccabe1854ee895f52d4ac5588bd5f40c80
tree6e22838b1e363549378faf74c27248d9d4bd4f5e
parentd2cd73f6a5103f5de221a67410e35e6bee211fa3
[asan] make AddressSanitizer to be a FunctionPass instead of ModulePass. This will simplify chaining other FunctionPasses with asan. Also some minor cleanup

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165936 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/AddressSanitizer.cpp