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 92fefdc + f385834 commit f243484Copy full SHA for f243484
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:
@@ -585,7 +587,8 @@ struct ImmutableAddressUseVerifier {
585
587
}
586
588
break;
589
default:
- llvm_unreachable("Unhandled unexpected instruction");
590
+ llvm::errs() << "Unhandled, unexpected instruction: " << *inst;
591
+ llvm_unreachable("invoking standard assertion failure");
592
593
594
0 commit comments