[PATCH] [ms-cxxabi] Improve vbtable name mangling accuracy
rnk at google.com
Fri Jan 3 11:50:08 PST 2014
This makes us more compatible with MSVC 2012+ and fixes PR17748 where we
would give two tables the same name.
Rather than doing a fresh depth-first traversal of the inheritance graph
for every record's vbtables, now we memoize vbtable paths for each
record. By doing memoization, we end up considering virtual bases of
subobjects that come later in the depth-first traversal. Where
previously we would have ignored a virtual base that we'd already seen,
we now consider it for name mangling purposes without emitting a
duplicate vbtable for it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23262 bytes
Desc: not available
More information about the cfe-commits