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

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 13 09:06:25 PDT 2025


https://github.com/ashgti commented:

Looking at this locally, I think this is changing:

```
0x01234   ff ff ff ff   NSLog: pacibsp
...
```

into:

```
0x01234   ff ff ff ff   pacibsp ; NSLog
...
```

When other functions are called, they have the name in the comment, so you'd see

```
0x01234   ff ff ff ff   bl 0x04321 ; _NSLogv
```

as an example in arm64 where we're calling another function.

The name being in the comment, at least for me, makes it hard for me to tell where the function begins vs other functions that are being called. 

I wonder if we should have some addition context? Like `; start of symbol <name>` or something.

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


More information about the lldb-commits mailing list