zturner added a comment. Wouldn’t the location of the unnamed struct be the location of its first member? We already print the offsets of the individual members, so that part is solvable (although that code is horrendously complex). The second part is figuring out how to correlate the member back to the unnamed struct it came from. If you can find the unnamed struct by enumerating children of S, this isn’t too bad. S has a data member named a and a child unnamed struct with a member named a, therefore they must be the same a. If the unnamed struct doesn’t show up when enumerating children though, then I’m not sure .
https://reviews.llvm.org/D49410 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits