Make diagnostic a bit clearer.
This prints out in case of any pass failure. Not just a crash. PiperOrigin-RevId: 283616719 Change-Id: I31ee68cd17dcc3867f7a5e6a1bf21ca336cecc63
This commit is contained in:
parent
d0acd1e267
commit
8f46707460
2
third_party/mlir/lib/Pass/Pass.cpp
vendored
2
third_party/mlir/lib/Pass/Pass.cpp
vendored
@ -533,7 +533,7 @@ static LogicalResult runWithCrashRecovery(OpPassManager &pm,
|
|||||||
outputFile->keep();
|
outputFile->keep();
|
||||||
|
|
||||||
return reproducerModule->emitError()
|
return reproducerModule->emitError()
|
||||||
<< "A crash has been detected while processing the MLIR module, a "
|
<< "A failure has been detected while processing the MLIR module, a "
|
||||||
"reproducer has been generated in '"
|
"reproducer has been generated in '"
|
||||||
<< crashReproducerFileName << "'";
|
<< crashReproducerFileName << "'";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user