[Lldb-commits] [lldb] [lldb] Use the .pdata function start for a frame 0 that has no symbol (PR #227298)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 29 18:13:26 PDT 2026
jasonmolenda wrote:
This is an interesting approach. For Mach-O, we have two sources of function start addresses, and we may be running on a stripped binary where the actual symbols have been removed. We use the start-address sources to inject fake symbols into the symbol table, specifically for the unwinder (I forget what we call them, something like `lldb_unknown_function_<1..1000>` or whatever), so people can see that there's _a_ function here, and they're 48 bytes into it, but we don't know the name. But this is an interesting other approach where we aren't making up symbol names at all, let me think about that a little.
https://github.com/llvm/llvm-project/pull/227298
More information about the lldb-commits
mailing list