summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-as/llvm-as.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-as/llvm-as.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-as/llvm-as.cpp')
-rw-r--r--llvm/tools/llvm-as/llvm-as.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index 9d5e96d9650..b2e44ef9d34 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -20,7 +20,6 @@
#include "llvm/Assembly/Parser.h"
#include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/IR/Module.h"
-#include "llvm/PassManager.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/PrettyStackTrace.h"
@@ -90,10 +89,6 @@ int main(int argc, char **argv) {
PrettyStackTraceProgram X(argc, 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 .ll -> .bc assembler\n");
// Parse the file now...
OpenPOWER on IntegriCloud