[PATCH] D153362: [clang][DebugInfo] Emit DW_AT_defaulted for defaulted C++ member functions

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 13:57:24 PDT 2023


aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.

Not sure if this is the driving motivation, but this would probably allow LLDB's expression evaluator to synthesize a default implementation for these functions if they were optimized away.



================
Comment at: clang/test/CodeGenCXX/debug-info-defaulted.cpp:31
+
+// All ctors/dtors are implicitly defatuled.
+// So no DW_AT_defaulted expected for these.
----------------
typo: defaulted


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153362



More information about the cfe-commits mailing list