[Lldb-commits] [lldb] [lldb-dap] Show load addresses in disassembly (PR #136755)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 22 15:36:26 PDT 2025


================
@@ -54,6 +54,10 @@ class LLDB_API SBInstructionList {
 
   bool GetDescription(lldb::SBStream &description);
 
+  // Writes assembly instructions to `description` with load addresses using
+  // `frame`.
+  bool GetDescription(lldb::SBStream &description, lldb::SBFrame &frame);
----------------
JDevlieghere wrote:

We'd want this API to be as generic as possible. Since you only need the execution context, that means this should take an SBExecutionContext, which you can create from a frame or thread or process.  

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


More information about the lldb-commits mailing list