[PATCH] D144181: [clang][DebugInfo] Add abi-tags on constructors/destructors as LLVM annotations

Michael Buch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 21 02:04:59 PST 2023


Michael137 added a comment.

Although I don't know of a scenario where we ever explicitly need to call the base object constructor from the expression evaluator. So maybe we can get away with only linking the complete object constructor DIE to the subprogram. Via a `DW_AT_LLVM_complete_ctor` or something and make sure to always attach the `C1` linkage name to the `CXXConstructorDecl`? Would that be closer to what you're imagining? And if a consumer ever does need the `C2` linkage name we can extend DWARF with it in the future


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144181



More information about the cfe-commits mailing list