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 | b5e1e6cc11a3c58e46c787e8d272ec05e449a152 (patch) | |
tree | ec7a6a720cabbf9fdd4c9522eb6d2b8e269476e5 /llvm/tools/llvm-link | |
parent | f54631dcfe460a7b5febe565918ea737867b6a71 (diff) | |
download | bcm5719-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-link')
-rw-r--r-- | llvm/tools/llvm-link/llvm-link.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp index 8e7d4b01df8..99cca2322d8 100644 --- a/llvm/tools/llvm-link/llvm-link.cpp +++ b/llvm/tools/llvm-link/llvm-link.cpp @@ -18,7 +18,6 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IRReader/IRReader.h" -#include "llvm/PassManager.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/Path.h" @@ -74,10 +73,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 linker\n"); unsigned BaseArg = 0; |