[Lldb-commits] [PATCH] D49410: [PDB] Parse UDT symbols and pointers to members

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 25 04:36:51 PDT 2018

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 .


More information about the lldb-commits mailing list