[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 09:15:35 PDT 2022
labath added a comment.
In D131974#3726438 <https://reviews.llvm.org/D131974#3726438>, @Michael137 wrote:
> lang/cpp/extern_c/TestExternCSymbols.py
I think that's because `extern "C"` symbols don't have a DW_AT_linkage_name attribute. Generally speaking, I don't think we can assume all debug info entries will have one (e.g. `-gsce` makes clang omit those), and should add them only if available.
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