Skip to content

Commit 60b4cf1

Browse files
Address comments
1 parent f4f81a8 commit 60b4cf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/DebugInfo/DWARF/DWARFCFIProgram.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ void CFIProgram::printOperand(raw_ostream &OS, DIDumpOptions DumpOpts,
425425
case OT_Expression:
426426
assert(Instr.Expression && "missing DWARFExpression object");
427427
OS << " ";
428-
DWARFExpressionPrinter::print(&(*Instr.Expression), OS, DumpOpts, nullptr);
428+
DWARFExpressionPrinter::print(&Instr.Expression.value(), OS, DumpOpts,
429+
nullptr);
429430
break;
430431
}
431432
}

0 commit comments

Comments
 (0)