[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
Wed Apr 21 14:05:53 PDT 2021


aprantl added a comment.

In D99693#2687996 <https://reviews.llvm.org/D99693#2687996>, @dblaikie wrote:

>> This patch does not affect C++ coroutines, since the DW_AT_specification is expected to hold the (original) linkage name.
>
> So does this mean that for C++ we'll have a DW_TAG_subprogram with a DW_AT_linkage_name that doesn't match the symbol for that code in the object's symbol table?

Correct — and I would say this is probably a bug, unless we want DW_AT_linkage_name to show the "original" linkage name for purposes of matching breakpoints refering to the original name without the .resume suffix or something like that.


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