From 9780d352b9108d49097970f6686fd61aba58d7fc Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 27 Nov 2012 00:53:24 +0000 Subject: Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model". It appears to have broken at least one buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168654 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llc/llc.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/llc') diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 4d4a74c009e..f3e5c20567f 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -359,7 +359,9 @@ int main(int argc, char **argv) { // Before executing passes, print the final values of the LLVM options. cl::PrintOptionValues(); + PM.doInitialization(); PM.run(*mod); + PM.doFinalization(); } // Declare success. -- cgit v1.2.3