[Lldb-commits] [lldb] [lldb] Improve identification of Dlang mangled names (PR #93881)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Thu May 30 15:13:10 PDT 2024


kastiglione wrote:

> This a little bit raises the question why we don't do the same checks for `_R` and `_Z`.

I asked myself the same. Turns out Rust doesn't have a number following the `_R` prefix, so it's not as simple. Given that C++ is much more load bearing, I didn't want to include changes that affect C++ in this diff. I don't want the Dlang functionality to be reverted if something goes wrong with an equivalent C++ change.

> It would be even better if the various demanglers in llvm had a quick "could this be mine" check so we didn't have to encode this in lldb.

I agree. That can be a next step.

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


More information about the lldb-commits mailing list