Skip to content

Commit c6b7619

Browse files
authored
Add comment
1 parent 2110815 commit c6b7619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineOperand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ void MachineOperand::print(raw_ostream &OS, ModuleSlotTracker &MST,
911911
case MachineOperand::MO_GlobalAddress:
912912
if (const auto *GV = getGlobal())
913913
getGlobal()->printAsOperand(OS, /*PrintType=*/false, MST);
914-
else
914+
else // Invalid, but may appear in debugging scenarios.
915915
OS << "globaladdress(null)";
916916

917917
printOperandOffset(OS, getOffset());

0 commit comments

Comments
 (0)