summaryrefslogtreecommitdiff
path: root/tools/llvm-stress
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
commitabe68f59174c7418ae73de0a87587abe0be1fb03 (patch)
treeab1e29c1c732267f8fc6e0407243499e46fea9a3 /tools/llvm-stress
parent7d4e9934e7ca83094c5cf41346966c8350179ff2 (diff)
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-stress')
-rw-r--r--tools/llvm-stress/llvm-stress.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp
index 6f2224221d8..15f7abf70e9 100644
--- a/tools/llvm-stress/llvm-stress.cpp
+++ b/tools/llvm-stress/llvm-stress.cpp
@@ -681,10 +681,6 @@ void IntroduceControlFlow(Function *F, Random &R) {
int main(int argc, char **argv) {
// Init LLVM, call llvm_shutdown() on exit, parse args, etc.
llvm::PrettyStackTraceProgram X(argc, argv);
-
- // Initialize PassManager for -time-passes support.
- initializePassManager();
-
cl::ParseCommandLineOptions(argc, argv, "llvm codegen stress-tester\n");
llvm_shutdown_obj Y;