From abe68f59174c7418ae73de0a87587abe0be1fb03 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Thu, 19 Sep 2013 06:02:43 +0000 Subject: 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 --- tools/llvm-extract/llvm-extract.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/llvm-extract/llvm-extract.cpp') diff --git a/tools/llvm-extract/llvm-extract.cpp b/tools/llvm-extract/llvm-extract.cpp index 99131764f3..dc1a410953 100644 --- a/tools/llvm-extract/llvm-extract.cpp +++ b/tools/llvm-extract/llvm-extract.cpp @@ -96,10 +96,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 extractor\n"); // Use lazy loading, since we only care about selected global values. -- cgit v1.2.3