summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-prof/llvm-prof.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-09-19 06:02:43 +0000
committerAndrew Trick <atrick@apple.com>2013-09-19 06:02:43 +0000
commitb5e1e6cc11a3c58e46c787e8d272ec05e449a152 (patch)
treeec7a6a720cabbf9fdd4c9522eb6d2b8e269476e5 /llvm/tools/llvm-prof/llvm-prof.cpp
parentf54631dcfe460a7b5febe565918ea737867b6a71 (diff)
downloadbcm5719-llvm-b5e1e6cc11a3c58e46c787e8d272ec05e449a152.tar.gz
bcm5719-llvm-b5e1e6cc11a3c58e46c787e8d272ec05e449a152.zip
Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit."
Working on a better solution to this. This reverts commit 7d4e9934e7ca83094c5cf41346966c8350179ff2. llvm-svn: 190990
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r--llvm/tools/llvm-prof/llvm-prof.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp
index e36441d6f19..52d01300694 100644
--- a/llvm/tools/llvm-prof/llvm-prof.cpp
+++ b/llvm/tools/llvm-prof/llvm-prof.cpp
@@ -260,9 +260,6 @@ int main(int argc, char **argv) {
LLVMContext &Context = getGlobalContext();
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
- // Initialize PassManager for -time-passes support.
- initializePassManager();
-
cl::ParseCommandLineOptions(argc, argv, "llvm profile dump decoder\n");
// Read in the bitcode file...
OpenPOWER on IntegriCloud