[PATCH] D99693: Update the linkage name of coro-split functions where applicable
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 12:47:15 PDT 2021
aprantl added a comment.
> Ah, so that's more about whether the name was demangleable - but I thought there was also an issue when the DW_AT_linkage_name differed from the real mangled name of the symbol, even if both names could be demangled?
The issue I'm working around is that AsmPrinter expects the DW_AT_specification to have the canonical DW_AT_linkage_name for all instances of a function. DW_AT_linkage_name is emitted in the abstract specification and omitted in all instances. And because of this assumption it asserts that the linkage name of each instance DISubprogram is identical to the specification DISubprogram.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99693/new/
https://reviews.llvm.org/D99693
More information about the llvm-commits
mailing list