[Lldb-commits] [lldb] [lldb-dap] show function name in the instruction comment. (PR #144070)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 16 01:11:25 PDT 2025


labath wrote:

Including the target name in the comment (without any extra explanation) is a pretty standard thing to do for disassemblers. For example, lldb's dissassemble command will give you:
```
    0x5555556e8cb1 <+2125>: callq  0x5555556ecf8e ; llvm::opt::InputArgList::~InputArgList at ArgList.h:442:3
```
and objdump produces things like:
```
  194a18:       48 8d 05 63 06 e9 ff    lea    -0x16f99d(%rip),%rax        # 25082 <(anonymous namespace)::OptionPrefixesTable+0x15e2>
```
.. so I don't think we need to make this output longer (the demangled name is long enough as it is)

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


More information about the lldb-commits mailing list