Skip to content

Commit 507280b

Browse files
committed
[embedded] Use << instead of .dump() to fix build breakage with asserts off
1 parent 365da5f commit 507280b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ bool IRGenModule::finalize() {
19731973
if (getSILModule().getOptions().StopOptimizationAfterSerialization) {
19741974
// We're asked to emit an empty IR module, check that that's actually true
19751975
if (Module.global_size() != 0 || Module.size() != 0) {
1976-
Module.dump();
1976+
llvm::errs() << Module;
19771977
llvm::report_fatal_error("Module is not empty");
19781978
}
19791979
}

0 commit comments

Comments
 (0)