[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / PowerPC / ppc64-localentry-symbols.s
blobf1d5c5d0ab1ac0e92def148cce66befce4d27bc2
1 # RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-freebsd13.0 %s -o %t
2 # RUN: llvm-objdump -t %t | FileCheck %s
4 # CHECK: 0000000000000000 gw F .text 00000000 0x60 __impl_foo
5 # CHECK: 0000000000000000 g F .text 00000000 0x60 foo
6 # CHECK: 0000000000000000 gw F .text 00000000 0x60 foo@FBSD_1.1
7 # CHECK: 0000000000000008 g F .text 00000000 0x60 func
8 # CHECK: 0000000000000008 gw F .text 00000000 0x60 weak_func
10 .text
11 .abiversion 2
13 .globl foo
14 .type foo,@function
15 foo:
16 nop
17 nop
18 .localentry foo, 8
20 .symver __impl_foo, foo@FBSD_1.1
21 .weak __impl_foo
22 .set __impl_foo, foo
24 .globl func
25 # Mimick FreeBSD weak function/reference
26 .weak weak_func
27 .equ weak_func, func
29 .p2align 2
30 .type func,@function
31 func:
32 nop
33 nop
34 .localentry func, 8