Skip to content

Commit

Permalink
[CIR] Add some extra dumping to help with intermitent bug
Browse files Browse the repository at this point in the history
We haven't been able to find the root cause of
llvm#829 just yet, the problem does also not
show up under a ASANified build.

Add some extra information before we crash, hopefully that might shed some
light.
  • Loading branch information
bcardosolopes authored and lanza committed Oct 2, 2024
1 parent 3395ff0 commit 42efd8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/CIR/CodeGen/CIRGenException.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ mlir::Operation *CIRGenFunction::getInvokeDestImpl() {

if (Personality.usesFuncletPads()) {
// We don't need separate landing pads in the funclet model.
llvm::errs() << "PersonalityFn: " << Personality.PersonalityFn << "\n";
llvm_unreachable("NYI");
} else {
mlir::cir::TryOp tryOp = nullptr;
Expand Down

0 comments on commit 42efd8c

Please sign in to comment.