[Mlir-commits] [mlir] 1a1dc44 - [mlir] Update signal failure error message
Jacques Pienaar
llvmlistbot at llvm.org
Fri Mar 3 17:06:54 PST 2023
Author: Jacques Pienaar
Date: 2023-03-03T17:06:48-08:00
New Revision: 1a1dc440dae2e6dd05f899439dd9ebb97c0ba012
URL: https://github.com/llvm/llvm-project/commit/1a1dc440dae2e6dd05f899439dd9ebb97c0ba012
DIFF: https://github.com/llvm/llvm-project/commit/1a1dc440dae2e6dd05f899439dd9ebb97c0ba012.diff
LOG: [mlir] Update signal failure error message
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
Added:
Modified:
mlir/lib/Pass/PassCrashRecovery.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Pass/PassCrashRecovery.cpp b/mlir/lib/Pass/PassCrashRecovery.cpp
index 67e404793c094..df1a0762ae34a 100644
--- a/mlir/lib/Pass/PassCrashRecovery.cpp
+++ b/mlir/lib/Pass/PassCrashRecovery.cpp
@@ -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";
}
}
More information about the Mlir-commits
mailing list