Skip to content
Snippets Groups Projects
Commit 809403ff authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[PM] Update the creation of an IR printing pass to reflect the API

update in LLVM r199044.

llvm-svn: 199045
parent 9d805139
No related branches found
No related tags found
No related merge requests found
......@@ -570,7 +570,7 @@ void EmitAssemblyHelper::EmitAssembly(BackendAction Action, raw_ostream *OS) {
case Backend_EmitLL:
FormattedOS.setStream(*OS, formatted_raw_ostream::PRESERVE_STREAM);
getPerModulePasses()->add(createPrintModulePass(&FormattedOS));
getPerModulePasses()->add(createPrintModulePass(FormattedOS));
break;
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment