From b5e1e6cc11a3c58e46c787e8d272ec05e449a152 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. llvm-svn: 190990 --- llvm/tools/llvm-prof/llvm-prof.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp') diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp index e36441d6f19..52d01300694 100644 --- a/llvm/tools/llvm-prof/llvm-prof.cpp +++ b/llvm/tools/llvm-prof/llvm-prof.cpp @@ -260,9 +260,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 profile dump decoder\n"); // Read in the bitcode file... -- cgit v1.2.3