[cfe-commits] r88702 - /cfe/trunk/test/CodeGenCXX/virt.cpp
Mike Stump
mrs at apple.com
Fri Nov 13 13:55:26 PST 2009
Author: mrs
Date: Fri Nov 13 15:55:26 2009
New Revision: 88702
URL: http://llvm.org/viewvc/llvm-project?rev=88702&view=rev
Log:
Add more testcase for construction vtables and VTTs.
Modified:
cfe/trunk/test/CodeGenCXX/virt.cpp
Modified: cfe/trunk/test/CodeGenCXX/virt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virt.cpp?rev=88702&r1=88701&r2=88702&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virt.cpp Fri Nov 13 15:55:26 2009
@@ -919,6 +919,20 @@
// CHECK-LP64-NEXT: .quad __ZTI8test20_D
// CHECK-LP64-NEXT: .quad __ZN9test20_V14foo2Ev
+// CHECK-LP64: __ZTC8test20_D0_8test20_B:
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .quad __ZTI8test20_B
+// CHECK-LP64-NEXT: .quad __ZN8test20_V4foo1Ev
+
+// CHECK-LP64: __ZTC8test20_D8_9test20_B1:
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .quad __ZTI9test20_B1
+// CHECK-LP64-NEXT: .quad __ZN9test20_V14foo2Ev
+
// CHECK-LP64: __ZTT8test20_D:
// CHECK-LP64-NEXT: .quad (__ZTV8test20_D) + 40
// CHECK-LP64-NEXT: .quad (__ZTC8test20_D0_8test20_B) + 32
@@ -957,6 +971,20 @@
// CHECK-LP64-NEXT: .quad __ZTI8test21_D
// CHECK-LP64-NEXT: .quad __ZTv0_n24_N8test21_D3fooEv
+// CHECK-LP64: __ZTC8test21_D0_8test21_B:
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .quad __ZTI8test21_B
+// CHECK-LP64-NEXT: .quad __ZN8test21_V3fooEv
+
+// CHECK-LP64: __ZTC8test21_D8_9test21_B1:
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .space 8
+// CHECK-LP64-NEXT: .quad __ZTI9test21_B1
+// CHECK-LP64-NEXT: .quad __ZN9test21_V13fooEv
+
// CHECK-LP64: __ZTT8test21_D:
// CHECK-LP64-NEXT: .quad (__ZTV8test21_D) + 40
// CHECK-LP64-NEXT: .quad (__ZTC8test21_D0_8test21_B) + 32
More information about the cfe-commits
mailing list