[Lldb-commits] [lldb] [llvm] [NFC] Separate high-level-dependent portions of DWARFExpression (revised) (PR #143170)
David Blaikie via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 9 10:51:31 PDT 2025
================
@@ -425,7 +425,7 @@ void CFIProgram::printOperand(raw_ostream &OS, DIDumpOptions DumpOpts,
case OT_Expression:
assert(Instr.Expression && "missing DWARFExpression object");
OS << " ";
- Instr.Expression->print(OS, DumpOpts, nullptr);
+ DWARFExpressionPrinter::print(&(*Instr.Expression), OS, DumpOpts, nullptr);
----------------
dwblaikie wrote:
No need for the parents here? Could use .get instead of &* , and wouldn't need the null check in the next case
https://github.com/llvm/llvm-project/pull/143170
More information about the lldb-commits
mailing list