[PATCH] D29912: [MS ABI] Correctly mangling vbase destructors

David Majnemer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 14:18:52 PST 2017


majnemer created this revision.

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.


https://reviews.llvm.org/D29912

Files:
  lib/AST/MicrosoftMangle.cpp
  test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp
  test/CodeGenCXX/exceptions-cxx-new.cpp
  test/CodeGenCXX/inheriting-constructor.cpp
  test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp
  test/CodeGenCXX/microsoft-abi-structors.cpp
  test/CodeGenCXX/microsoft-abi-throw.cpp
  test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp
  test/CodeGenCXX/regcall.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29912.88258.patch
Type: text/x-patch
Size: 15275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170213/d86e0170/attachment.bin>


More information about the cfe-commits mailing list