[Lldb-commits] [lldb] [lldb-dap] Show load addresses in disassembly (PR #136755)
Ely Ronnen via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 22 16:43:13 PDT 2025
================
@@ -148,10 +158,15 @@ bool SBInstructionList::GetDescription(Stream &sref) {
const uint32_t max_opcode_byte_size =
m_opaque_sp->GetInstructionList().GetMaxOpcocdeByteSize();
FormatEntity::Entry format;
- FormatEntity::Parse("${addr}: ", format);
+ FormatEntity::Parse("${addr-file-or-load}: ", format);
SymbolContext sc;
SymbolContext prev_sc;
+ std::shared_ptr<ExecutionContext> exe_ctx_ptr;
+ if (nullptr != exe_ctx) {
+ exe_ctx_ptr = std::make_shared<ExecutionContext>(exe_ctx->get());
+ }
----------------
eronnen wrote:
:100:
https://github.com/llvm/llvm-project/pull/136755
More information about the lldb-commits
mailing list