diff options
| author | Mike Stump <mrs@apple.com> | 2009-11-18 03:21:29 +0000 |
|---|---|---|
| committer | Mike Stump <mrs@apple.com> | 2009-11-18 03:21:29 +0000 |
| commit | 88a4a62b8a18dc24006ef9d44e28de6c7dc987ba (patch) | |
| tree | a3fe786448a9dfad390f64298691b71f3e426a4b /test/CodeGenCXX/rtti.cpp | |
| parent | 066b983348e06a5f9dbbb72041077bbf1a0fb9c1 (diff) | |
Be sure to set visibility for ZTI symbols for classes from the class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/rtti.cpp')
| -rw-r--r-- | test/CodeGenCXX/rtti.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGenCXX/rtti.cpp b/test/CodeGenCXX/rtti.cpp index f496d7af2f..a1ff1ff687 100644 --- a/test/CodeGenCXX/rtti.cpp +++ b/test/CodeGenCXX/rtti.cpp @@ -41,7 +41,12 @@ class test1_D : public test1_B7 { // CHECK-NEXT: .space 4 // CHECK-NEXT: .quad __ZTIi -// CHECK: __ZTIM7test3_Ai: +// CHECK: .globl __ZTS7test3_A +// CHECK-NEXT: .weak_definition __ZTS7test3_A +// CHECK: __ZTS7test3_A: +// CHECK-NEXT: .asciz "7test3_A" + +// CHECK: __ZTIM7test3_Ai: // CHECK-NEXT: .quad (__ZTVN10__cxxabiv129__pointer_to_member_type_infoE) + 16 // CHECK-NEXT: .quad __ZTSM7test3_Ai // CHECK-NEXT: .space 4 |
