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

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 04:36:52 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 .


https://reviews.llvm.org/D49410





More information about the llvm-commits mailing list