[Lldb-commits] [lldb] [lldb] Enforce that ArchDefaultUnwindPlans declare other regs unfetch (PR #203684)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 13 16:11:44 PDT 2026


jasonmolenda wrote:

Added a testcase with a riscv32 corefile API test case I already had.

Found & fixed two places where m_current_offset and m_current_offset_backed_up_one in RegisterContextUnwind() were changed to std::optional<int> last year, but they were still being used as if they were simple integral type and that would result in no compiler errors/warnings.  More argument for the idea @jimingham and I were discussing recently where we should have a naming convention for optional ivars like `m_opt_current_offset` to make it a tiny bit easier to spot this kind of thing.

https://github.com/llvm/llvm-project/pull/203684


More information about the lldb-commits mailing list