[Lldb-commits] [PATCH] D68961: Add support for DW_AT_export_symbols for anonymous structs

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 16 10:37:37 PDT 2019


shafik added a comment.

In D68961#1709708 <https://reviews.llvm.org/D68961#1709708>, @clayborg wrote:

> Have many compilers supported DW_AT_export_symbols for a while now? If not, are there any serious issues introduced here that would change debugger behavior if this attribute is not emitted by a compiler? Or is this a new fix in clang that was recently introduced in order to fix an issue when debugging in lldb?


We don't except any regressions for code compiled with older compilers. We are fixing the case that unnamed classes are identified as anonymous. The anonymous classes cases should be caught in older revisions in `ClangASTContext::AddFieldToRecordType` which does a `Rec->setAnonymousStructOrUnion(true)


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

https://reviews.llvm.org/D68961





More information about the lldb-commits mailing list