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 f966020 commit f385834Copy full SHA for f385834
lib/SIL/SILVerifier.cpp
@@ -494,8 +494,10 @@ struct ImmutableAddressUseVerifier {
494
while (!worklist.empty()) {
495
auto *use = worklist.pop_back_val();
496
auto *inst = use->getUser();
497
+
498
if (inst->isTypeDependentOperand(*use))
499
continue;
500
501
switch (inst->getKind()) {
502
case SILInstructionKind::MarkDependenceInst:
503
case SILInstructionKind::LoadBorrowInst:
@@ -577,7 +579,8 @@ struct ImmutableAddressUseVerifier {
577
579
}
578
580
break;
581
default:
- llvm_unreachable("Unhandled unexpected instruction");
582
+ llvm::errs() << "Unhandled, unexpected instruction: " << *inst;
583
+ llvm_unreachable("invoking standard assertion failure");
584
585
586
0 commit comments