Move main llvm-prof functionality into a ModulePass.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 14 Jul 2009 07:41:11 +0000 (07:41 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 14 Jul 2009 07:41:11 +0000 (07:41 +0000)
commit314fa8e40a439b36eb86984d48579083cc01e90a
tree09f6fd07fe01f6b69c2c2e21ba2cbcd247d651c3
parent858cb8a5e07d4fe4b516a99eef7e8c028516a679
Move main llvm-prof functionality into a ModulePass.
 - To support using the ProfileInfo analysis results instead of accessing the
   ProfileInfoLoader directly.

 - Based on (part of) a patch by Andreas Neustifter.

 - No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75625 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-prof/llvm-prof.cpp