summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-extract/llvm-extract.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-extract/llvm-extract.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-extract/llvm-extract.cpp')
-rw-r--r--llvm/tools/llvm-extract/llvm-extract.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/tools/llvm-extract/llvm-extract.cpp b/llvm/tools/llvm-extract/llvm-extract.cpp
index 99131764f36..dc1a410953b 100644
--- a/llvm/tools/llvm-extract/llvm-extract.cpp
+++ b/llvm/tools/llvm-extract/llvm-extract.cpp
@@ -96,10 +96,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 extractor\n");
// Use lazy loading, since we only care about selected global values.
OpenPOWER on IntegriCloud