[Lldb-commits] [lldb] [lldb] Highlight basenames in backtraces (PR #137301)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 28 04:27:25 PDT 2025


Michael137 wrote:

> @Michael137, in the second screenshot in the PR description, `` clang-21`clang-main `` has `clang-main` highlighted, but `` clang-21`main `` does not highlight `main`. dyld also doesn't highlight start but that could be a lack of the debug information needed.
> 
> Is that expected?
> 
> (I'm pretty busy right now otherwise I'd check for myself)

Yea the `start` and `main` cases are a bit special because the `Mangled` object that we get for them doesn't have a `m_mangled` member set. So there's nothing to demangle and nothing to deduce about where the name starts/ends. Maybe we can do something special for those cases, but I haven't thought about this much yet

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


More information about the lldb-commits mailing list