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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user