[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)
commit4b929dae930d833da156901c4f52aa00ccb39351
treeac1a3075e16639433153395f8faa7d8b9ca3a1e3
parente73a48097045db12657db76af5a1a80911b846b2
[asan/tsan] initialize the asan/tsan callbacks in runOnFunction as opposed to doInitialization. This is required to allow the upcoming changes in PassManager behavior

llvm-svn: 168864
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp