summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-prof
diff options
context:
space:
mode:
authorPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
committerPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
commitd6b092bbd568c2df397b3edc5bbf484b37315cd5 (patch)
tree5aa71cbc5be72acbb4ac42d2170fb14e181c88dd /llvm/tools/llvm-prof
parentcbb07bea14a708e1d7cfcb286cac334f83b0a192 (diff)
downloadbcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.tar.gz
bcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.zip
One more step towards making doInitialization and doFinalization useful for
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass llvm-svn: 168905
Diffstat (limited to 'llvm/tools/llvm-prof')
-rw-r--r--llvm/tools/llvm-prof/llvm-prof.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp
index 940ac340e7c..81e9503abe2 100644
--- a/llvm/tools/llvm-prof/llvm-prof.cpp
+++ b/llvm/tools/llvm-prof/llvm-prof.cpp
@@ -287,9 +287,7 @@ int main(int argc, char **argv) {
PassManager PassMgr;
PassMgr.add(createProfileLoaderPass(ProfileDataFile));
PassMgr.add(new ProfileInfoPrinterPass(PIL));
- PassMgr.doInitialization();
PassMgr.run(*M);
- PassMgr.doFinalization();
return 0;
}
OpenPOWER on IntegriCloud