This is an archive of the discontinued LLVM Phabricator instance.

[MS ABI] Correctly mangling vbase destructors
ClosedPublic

Authored by majnemer on Feb 13 2017, 2:18 PM.

Details

Summary

They are a little bit of a special case in the mangling. They are always
mangled without taking into account their virtual-ness of the
destructor. They are also mangled to return void, unlike the actual
destructor.

This fixes PR31931.

Event Timeline

majnemer created this revision.Feb 13 2017, 2:18 PM
rnk accepted this revision.Feb 13 2017, 3:57 PM

lgtm, thanks!

This revision is now accepted and ready to land.Feb 13 2017, 3:57 PM
This revision was automatically updated to reflect the committed changes.