diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/indirect-hidden.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/indirect-hidden.ll | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/PowerPC/indirect-hidden.ll b/llvm/test/CodeGen/PowerPC/indirect-hidden.ll index b839fa0da3d..8b791c097f1 100644 --- a/llvm/test/CodeGen/PowerPC/indirect-hidden.ll +++ b/llvm/test/CodeGen/PowerPC/indirect-hidden.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs -mtriple=powerpc-apple-darwin < %s | FileCheck %s +; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s @a = external hidden global i32 @b = external global i32 @@ -11,11 +11,10 @@ define i32* @get_b() { ret i32* @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: .globl get_a +; CHECK: .p2align 2 +; CHECK: .type get_a,@function +; CHECK: .globl get_b +; CHECK: .p2align 2 +; CHECK: .type get_b,@function +; CHECK: .hidden a |