From 8b5987eba5a080962cbc98ce5f006db3aa62ae2e Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Fri, 27 Sep 2013 14:48:01 +0000 Subject: Abstract out the emission of vtables, add basic support for vtable emission when using -cxx-abi microsoft Reviewed at http://llvm-reviews.chandlerc.com/D1532 llvm-svn: 191523 --- clang/test/CodeGenCXX/virtual-base-destructor-call.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'clang/test/CodeGenCXX/virtual-base-destructor-call.cpp') diff --git a/clang/test/CodeGenCXX/virtual-base-destructor-call.cpp b/clang/test/CodeGenCXX/virtual-base-destructor-call.cpp index a8d4520b5eb..5014eaf2643 100644 --- a/clang/test/CodeGenCXX/virtual-base-destructor-call.cpp +++ b/clang/test/CodeGenCXX/virtual-base-destructor-call.cpp @@ -27,12 +27,6 @@ int main() { // CHECK: call {{.*}} @_ZN13basic_istreamIcED2Ev // CHECK: } -// basic_iostream's deleting dtor calls its complete dtor, then -// operator delete(). -// CHECK: define linkonce_odr {{.*}} @_ZN14basic_iostreamIcED0Ev(%struct.basic_iostream* {{.*}}%this) unnamed_addr -// CHECK: call {{.*}} @_ZN14basic_iostreamIcED1Ev -// CHECK: call {{.*}} @_ZdlPv - // basic_istream's complete dtor calls the base dtor, // then its virtual base's base dtor. // CHECK: define linkonce_odr {{.*}} @_ZN13basic_istreamIcED1Ev(%struct.basic_istream* {{.*}}%this) unnamed_addr @@ -45,6 +39,12 @@ int main() { // CHECK: call {{.*}} @_ZN13basic_istreamIcED1Ev // CHECK: call {{.*}} @_ZdlPv +// basic_iostream's deleting dtor calls its complete dtor, then +// operator delete(). +// CHECK: define linkonce_odr {{.*}} @_ZN14basic_iostreamIcED0Ev(%struct.basic_iostream* {{.*}}%this) unnamed_addr +// CHECK: call {{.*}} @_ZN14basic_iostreamIcED1Ev +// CHECK: call {{.*}} @_ZdlPv + // basic_istream's base dtor is a no-op. // CHECK: define linkonce_odr {{.*}} @_ZN13basic_istreamIcED2Ev(%struct.basic_istream* {{.*}}%this, i8** %vtt) unnamed_addr // CHECK-NOT: call -- cgit v1.2.3