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-diff/llvm-diff.cpp | |
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-diff/llvm-diff.cpp')
-rw-r--r-- | llvm/tools/llvm-diff/llvm-diff.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/tools/llvm-diff/llvm-diff.cpp b/llvm/tools/llvm-diff/llvm-diff.cpp index 62fc026327e..f70219eaf54 100644 --- a/llvm/tools/llvm-diff/llvm-diff.cpp +++ b/llvm/tools/llvm-diff/llvm-diff.cpp @@ -20,7 +20,6 @@ #include "llvm/IR/Module.h" #include "llvm/IR/Type.h" #include "llvm/IRReader/IRReader.h" -#include "llvm/PassManager.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SourceMgr.h" @@ -68,9 +67,6 @@ static cl::list<std::string> GlobalsToCompare(cl::Positional, cl::desc("<globals to compare>")); int main(int argc, char **argv) { - // Initialize PassManager for -time-passes support. - initializePassManager(); - cl::ParseCommandLineOptions(argc, argv); LLVMContext Context; |