summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/indirect-hidden.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-20 12:00:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-20 12:00:52 +0000
commitf5a1debd28b40d8f9c2232253eb75316c4e687d7 (patch)
tree5374447d024677439c9c5214ba2c54b12d6c8c76 /test/CodeGen/PowerPC/indirect-hidden.ll
parente3282d30d89c09aeae6af1a43556ffed62d24ddb (diff)
Simplify handling of hidden stubs on PowerPC.
We now handle them just like non hidden ones. This was already the case on x86 (r207518) and arm (r207517). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/indirect-hidden.ll')
-rw-r--r--test/CodeGen/PowerPC/indirect-hidden.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/indirect-hidden.ll b/test/CodeGen/PowerPC/indirect-hidden.ll
index eba46c2fa7f..5ef8b6df4b0 100644
--- a/test/CodeGen/PowerPC/indirect-hidden.ll
+++ b/test/CodeGen/PowerPC/indirect-hidden.ll
@@ -13,11 +13,9 @@ define i32* @get_b() {
; CHECK: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
; CHECK-NEXT: .p2align 2
+; CHECK-NEXT: L_a$non_lazy_ptr:
+; CHECK-NEXT: .indirect_symbol _a
+; CHECK-NEXT: .long 0
; CHECK-NEXT: L_b$non_lazy_ptr:
; CHECK-NEXT: .indirect_symbol _b
; CHECK-NEXT: .long 0
-
-; CHECK: .section __DATA,__data
-; CHECK-NEXT: .p2align 2
-; CHECK-NEXT: L_a$non_lazy_ptr:
-; CHECK-NEXT: .long _a