[Lldb-commits] [PATCH] D131974: [lldb][ClangExpression] Add asm() label to all FunctionDecls we create from DWARF
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 16 10:17:44 PDT 2022
labath accepted this revision.
labath added a comment.
For me this wins on simplicity grounds alone.
In D131974#3726475 <https://reviews.llvm.org/D131974#3726475>, @Michael137 wrote:
> - Check mangled name and storage class before attaching label
I don't think that the storage class check is helping anything. Non-external functions can have DW_AT_linkage_names and ABI tags (although their usefulness is questionable) as well. Of course, that means that the local (indicated by the `L` in the name) mangled name is not necessarily unique (and that's why I said that going off of the address would be more correct). However, this is not something we can fix by letting clang deduce the name for itself.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131974/new/
https://reviews.llvm.org/D131974
More information about the lldb-commits
mailing list