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.
2 parents ea9806d + 63db25e commit 0a855a3Copy full SHA for 0a855a3
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