[PATCH] Initial pass at API design for DebugInfo/PDB
zturner at google.com
Mon Feb 2 13:34:57 PST 2015
> The value of this enum for a particular symbol determines which subset of methods on the IDiaSymbol are valid to call.
One additional point about this line. The subset of methods which are valid to call for a particular IDiaSymbol is not easy to organize into a useful object hierarchy. For some values of the tag field, the subsets will be disjoint, while for others they will overlap, and for others they might even be the same. If you take the intersection across all tag values, for example, the only common method will be the function which actually returns the tag value.
So it's difficult to organize this into a meaningful object hierarchy.
More information about the llvm-commits