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.
Paths
| Differential D29912
[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 This fixes PR31931.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 13 2017, 3:57 PM Closed by commit rL295010: [MS ABI] Correctly mangling vbase destructors (authored by majnemer). · Explain WhyFeb 13 2017, 5:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 88280 cfe/trunk/lib/AST/MicrosoftMangle.cpp
cfe/trunk/test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp
cfe/trunk/test/CodeGenCXX/exceptions-cxx-new.cpp
cfe/trunk/test/CodeGenCXX/inheriting-constructor.cpp
cfe/trunk/test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp
cfe/trunk/test/CodeGenCXX/microsoft-abi-structors.cpp
cfe/trunk/test/CodeGenCXX/microsoft-abi-throw.cpp
cfe/trunk/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp
cfe/trunk/test/CodeGenCXX/regcall.cpp
|