Skip to content

Commit 933a566

Browse files
authored
[PAuthLR] Add Missing Break Statement for MachineOperand Switch Statement (#113883)
There was a missing break, which led to an unannotated fallthrough when merging #112171. This has caused sanitizer builds to fail. This adds the missing break in the switch statement to ensure that the fallthrough does not occur.
1 parent dff114b commit 933a566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/MachineOperand.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ static void printCFI(raw_ostream &OS, const MCCFIInstruction &CFI,
772772
OS << "negate_ra_sign_state_with_pc ";
773773
if (MCSymbol *Label = CFI.getLabel())
774774
MachineOperand::printSymbol(OS, *Label);
775+
break;
775776
default:
776777
// TODO: Print the other CFI Operations.
777778
OS << "<unserializable cfi directive>";

0 commit comments

Comments
 (0)