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.
1 parent 2dfd569 commit 63db25eCopy full SHA for 63db25e
lib/SIL/OperandOwnership.cpp
@@ -110,7 +110,9 @@ class OperandOwnershipKindClassifier
110
#define SHOULD_NEVER_VISIT_INST(INST) \
111
OperandOwnershipKindMap OperandOwnershipKindClassifier::visit##INST##Inst( \
112
INST##Inst *i) { \
113
- llvm_unreachable("Visited instruction that should never be visited?!"); \
+ llvm::errs() << "Unhandled inst: " << *i; \
114
+ llvm::report_fatal_error( \
115
+ "Visited instruction that should never be visited?!"); \
116
}
117
SHOULD_NEVER_VISIT_INST(AllocBox)
118
SHOULD_NEVER_VISIT_INST(AllocExistentialBox)
0 commit comments