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?

Thanks!

> 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


https://reviews.llvm.org/D49410



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to