[Lldb-commits] [PATCH] D49410: [PDB] Parse UDT symbols and pointers to members
Aleksandr Urakov via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 25 04:28:02 PDT 2018
aleksandr.urakov added a comment.
In https://reviews.llvm.org/D49410#1174787, @zturner wrote:
> When you have a DIA interface for struct S, can you just call
> findChildren<PDBSymbolTypeUDT>()? Will that enumerate tge unnamed struct?
I have checked this again with `cl` and `clang-cl` (but I have enumerated all children, not only UDTs). For the cl-emitted PDB there are only `Data` children (for fields `a`, `b`, `c`, `d` and `e`). The clang-emitted PDB also contains all the `Data` children, but it also contains two unnamed UDT children (for the unnamed struct and the unnamed union). I.e. `clang` emits more info than `cl`.
But I can't understand, how will this info help us to resolve two points I've mentioned in the previous message? Can you explain, please?
> The fact that pdbutil doesn’t is only an indication of how the printing
> code behaves, you shouldn’t interpret anything about what information is
> available from it
More information about the lldb-commits