diff options
author | Andrew Trick <atrick@apple.com> | 2013-09-19 06:02:43 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-09-19 06:02:43 +0000 |
commit | abe68f59174c7418ae73de0a87587abe0be1fb03 (patch) | |
tree | ab1e29c1c732267f8fc6e0407243499e46fea9a3 /tools/llvm-as/llvm-as.cpp | |
parent | 7d4e9934e7ca83094c5cf41346966c8350179ff2 (diff) | |
download | external_llvm-abe68f59174c7418ae73de0a87587abe0be1fb03.zip external_llvm-abe68f59174c7418ae73de0a87587abe0be1fb03.tar.gz external_llvm-abe68f59174c7418ae73de0a87587abe0be1fb03.tar.bz2 |
Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit."
Working on a better solution to this.
This reverts commit 7d4e9934e7ca83094c5cf41346966c8350179ff2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-as/llvm-as.cpp')
-rw-r--r-- | tools/llvm-as/llvm-as.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp index 9d5e96d..b2e44ef 100644 --- a/tools/llvm-as/llvm-as.cpp +++ b/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... |