aleksandr.urakov added inline comments.
================
Comment at: lit/SymbolFile/PDB/Inputs/ClassLayoutTest.cpp:37
+ };
+ union { // Test unnamed union. MSVC treats it as `int a; float b;`
+ int a;
----------------
Here is a problem. `MicrosoftRecordLayoutBuilder` asserts every field or base
offset, but in our case fields `a` and `b` are treated as `struct Complex`'s
fields, not `union`'s, so lldb crashes in debug on this. I can't find enough
info in PDB to restore the unnamed union here. Do you have any ideas about it?
https://reviews.llvm.org/D49410
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits