mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 01:25:32 +00:00
One more step towards making doInitialization and doFinalization useful for
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168905 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -287,9 +287,7 @@ int main(int argc, char **argv) {
|
||||
PassManager PassMgr;
|
||||
PassMgr.add(createProfileLoaderPass(ProfileDataFile));
|
||||
PassMgr.add(new ProfileInfoPrinterPass(PIL));
|
||||
PassMgr.doInitialization();
|
||||
PassMgr.run(*M);
|
||||
PassMgr.doFinalization();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user