[cfe-commits] r88681 - /cfe/trunk/test/CodeGenCXX/virt.cpp
Mike Stump
mrs at apple.com
Fri Nov 13 11:36:46 PST 2009
Author: mrs
Date: Fri Nov 13 13:36:46 2009
New Revision: 88681
URL: http://llvm.org/viewvc/llvm-project?rev=88681&view=rev
Log:
Add a testcase for the recent VTT work.
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=88681&r1=88680&r2=88681&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virt.cpp Fri Nov 13 13:36:46 2009
@@ -936,6 +936,16 @@
// CHECK-LP64-NEXT: .quad __ZTI8test21_D
// CHECK-LP64-NEXT: .quad __ZTv0_n24_N8test21_D3fooEv
+// CHECK-LP64: __ZTT8test21_D:
+// CHECK-LP64-NEXT: .quad (__ZTV8test21_D) + 40
+// CHECK-LP64-NEXT: .quad (__ZTC8test21_D0_8test21_B) + 32
+// CHECK-LP64-NEXT: .quad (__ZTC8test21_D0_8test21_B) + 32
+// CHECK-LP64-NEXT: .quad (__ZTC8test21_D8_9test21_B1) + 32
+// CHECK-LP64-NEXT: .quad (__ZTC8test21_D8_9test21_B1) + 32
+// CHECK-LP64-NEXT .quad (__ZTV8test21_D) + 40
+// CHECK-LP64-NEXT .quad (__ZTV8test21_D) + 80
+// CHECK-LP64-NEXT .quad (__ZTV8test21_D) + 80
+
// CHECK-LP64: __ZTV1B:
More information about the cfe-commits
mailing list