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

llvm-svn: 168905
This commit is contained in:
Pedro Artigas
2012-11-29 17:47:05 +00:00
parent cbb07bea14
commit d6b092bbd5
11 changed files with 19 additions and 84 deletions

View File

@@ -276,9 +276,7 @@ int main(int argc, char **argv) {
else if (Force || !CheckBitcodeOutputToConsole(Out.os(), true))
Passes.add(createBitcodeWriterPass(Out.os()));
Passes.doInitialization();
Passes.run(*M.get());
Passes.doFinalization();
// Declare success.
Out.keep();