[PATCH] D145076: [llvm][DebugInfo] Introduce new DW_AT_LLVM_preferred_name attribute

Michael Buch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 14:14:27 PST 2023


Michael137 added a comment.

In D145076#4168328 <https://reviews.llvm.org/D145076#4168328>, @probinson wrote:

> You don't want to use DW_AT_description for this?

We were considering this. It does fit the use-case nicely by the sound of it. But for LLDB it was much more convenient for the preferred name to be encoded as a reference to the DIE, not a raw string (I haven't actually tried implementing it purely based on the name of the type. We'd have to do a lookup into the accelerator tables by name at the very least I guess)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145076/new/

https://reviews.llvm.org/D145076



More information about the llvm-commits mailing list