We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 365da5f + 507280b commit c2681d5Copy full SHA for c2681d5
lib/IRGen/IRGenModule.cpp
@@ -1973,7 +1973,7 @@ bool IRGenModule::finalize() {
1973
if (getSILModule().getOptions().StopOptimizationAfterSerialization) {
1974
// We're asked to emit an empty IR module, check that that's actually true
1975
if (Module.global_size() != 0 || Module.size() != 0) {
1976
- Module.dump();
+ llvm::errs() << Module;
1977
llvm::report_fatal_error("Module is not empty");
1978
}
1979
0 commit comments