This is an archive of the discontinued LLVM Phabricator instance.

Fix PR20479 -- missing vftable slots in case of virtual inheritance vs return adjusting thunks
ClosedPublic

Authored by timurrrr on Aug 8 2014, 4:36 AM.

Details

Reviewers
rnk

Diff Detail

Event Timeline

timurrrr updated this revision to Diff 12304.Aug 8 2014, 4:36 AM
timurrrr retitled this revision from to Fix PR20479 -- missing vftable slots in case of virtual inheritance vs return adjusting thunks.
timurrrr updated this object.
timurrrr edited the test plan for this revision. (Show Details)
timurrrr added a reviewer: rnk.
timurrrr added a subscriber: Unknown Object (MLST).
rnk accepted this revision.Aug 8 2014, 11:22 AM
rnk edited edge metadata.

lgtm

lib/AST/VTableBuilder.cpp
3177–3178

Yeah. It seems clear to me that they reorder base specifiers into record layout order, which is approximately this. The only differences in order will arise from non-polymorphic bases, which shouldn't matter.

This revision is now accepted and ready to land.Aug 8 2014, 11:22 AM
timurrrr closed this revision.Aug 9 2014, 10:22 AM

r215285 it is!