[Lldb-commits] [PATCH] D79811: WIP: Reenable creation of artificial methods in AddMethodToCXXRecordType(...)

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 28 18:43:36 PDT 2020


dblaikie added a comment.

FWIW I agree that based on the current DWARF LLVM and GCC produce there's no way to allow users to default construct structs in C++11 (where non-static data member initializers were added) or above in the absence of a user-provided constructor - I don't think it'd be unreasonable to attach a null/empty default_value for "has an initializer but I won't tell you what it is" - chances are plumbing this through Clang/LLVM metadata, etc, might go most of the way to plumbing through at least simple default initializer values too - so you might get the simple constant non-empty values for free here anyway, which would be nice/allow some default/implicit member initialization.

But if you're preparing to go down that route, a thread on llvm-dev with all the usual debug info cohort would be worthwhile to check this.


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

https://reviews.llvm.org/D79811





More information about the lldb-commits mailing list