Skip to content

Commit

Permalink
[mlir] Update signal failure error message
Browse files Browse the repository at this point in the history
User was confused by previous wording when pass was reported as failing
due to signal in unrelated thread being caught.

Differential Revision: https://reviews.llvm.org/D145213
  • Loading branch information
jpienaar committed Mar 4, 2023
1 parent d65379c commit 1a1dc44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlir/lib/Pass/PassCrashRecovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ void RecoveryReproducerContext::crashHandler(void *) {

// Emit an error using information only available within the context.
emitError(context->preCrashOperation->getLoc())
<< "A failure has been detected while processing the MLIR module:"
<< description;
<< "A signal was caught while processing the MLIR module:"
<< description << "; marking pass as failed";
}
}

Expand Down

0 comments on commit 1a1dc44

Please sign in to comment.