diff options
author | David Majnemer <david.majnemer@gmail.com> | 2017-02-14 00:54:11 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2017-02-14 00:54:11 +0000 |
commit | cc8bc8ac38a541be2e25eefeaa7692b29879ecf3 (patch) | |
tree | 0b7f716febbf627bcac88392f7de8c5cbcbffc43 /test/CodeGenCXX/exceptions-cxx-new.cpp | |
parent | 5b38d7133e9cd36796e369aaa8f58b51dfe972d1 (diff) |
[MS ABI] Correctly mangling vbase destructors
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.
Differential Revision: https://reviews.llvm.org/D29912
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/exceptions-cxx-new.cpp')
-rw-r--r-- | test/CodeGenCXX/exceptions-cxx-new.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/exceptions-cxx-new.cpp b/test/CodeGenCXX/exceptions-cxx-new.cpp index 3329aea32e..9836da8e54 100644 --- a/test/CodeGenCXX/exceptions-cxx-new.cpp +++ b/test/CodeGenCXX/exceptions-cxx-new.cpp @@ -55,12 +55,12 @@ void test_cleanup() { // CHECK: to label %[[LEAVE_FUNC:.*]] unwind label %[[CLEANUP:.*]] // CHECK: [[LEAVE_FUNC]] -// CHECK: call x86_thiscallcc void @"\01??_DCleanup@@QAE@XZ"( +// CHECK: call x86_thiscallcc void @"\01??_DCleanup@@QAEXXZ"( // CHECK: ret void // CHECK: [[CLEANUP]] // CHECK: %[[CLEANUPPAD:.*]] = cleanuppad within none [] -// CHECK: call x86_thiscallcc void @"\01??_DCleanup@@QAE@XZ"( +// CHECK: call x86_thiscallcc void @"\01??_DCleanup@@QAEXXZ"( // CHECK: cleanupret from %[[CLEANUPPAD]] unwind to caller |