[asan/tsan] initialize the asan/tsan callbacks in runOnFunction as opposed to doIniti...
authorKostya Serebryany <kcc@google.com>
Thu, 29 Nov 2012 09:54:21 +0000 (09:54 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 29 Nov 2012 09:54:21 +0000 (09:54 +0000)
commit8b390ffbfdd52a23a45a21de99aa1c31f3ce623f
tree739ef3b11e9370b0c5d3b86766a47879a684dde3
parent5085eb80abe29320fa8922c10b36249f5163f45d
[asan/tsan] initialize the asan/tsan callbacks in runOnFunction as opposed to doInitialization. This is required to allow the upcoming changes in PassManager behavior

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