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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to