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 | dc169759ca2a72d6fe9eff0b9320ad4296e3791a (patch) | |
tree | 3a9f780d3c0d21e76f12eca8b70d027ce9c1b2ae /clang/test/CodeGenCXX/exceptions-cxx-new.cpp | |
parent | d96089b2487448af11ecdaba8371f08d9b2381a2 (diff) | |
download | bcm5719-llvm-dc169759ca2a72d6fe9eff0b9320ad4296e3791a.tar.gz bcm5719-llvm-dc169759ca2a72d6fe9eff0b9320ad4296e3791a.zip |
[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
llvm-svn: 295010
Diffstat (limited to 'clang/test/CodeGenCXX/exceptions-cxx-new.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/exceptions-cxx-new.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/exceptions-cxx-new.cpp b/clang/test/CodeGenCXX/exceptions-cxx-new.cpp index 3329aea32ef..9836da8e540 100644 --- a/clang/test/CodeGenCXX/exceptions-cxx-new.cpp +++ b/clang/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 |