[clang] Fix description for fprofile-sample-use= on Windows (#117973)
[llvm-project.git] / llvm / test / MC / MachO / addrsig.s
blob49ec3564b459f711d5162132e73d2a261315f73d
1 # REQUIRES: aarch64-registered-target
2 # RUN: llvm-mc -filetype=obj -triple arm64-apple-darwin %s -o %t
3 # RUN: llvm-readobj -r -s %t | FileCheck %s
5 # CHECK: Section __llvm_addrsig {
6 # CHECK-NEXT: 0x0 0 3 1 ARM64_RELOC_UNSIGNED 0 .Llocal
7 # CHECK-NEXT: 0x0 0 3 1 ARM64_RELOC_UNSIGNED 0 local
8 # CHECK-NEXT: 0x0 0 3 1 ARM64_RELOC_UNSIGNED 0 g3
9 # CHECK-NEXT: 0x0 0 3 1 ARM64_RELOC_UNSIGNED 0 g1
10 # CHECK-NEXT: }
12 # CHECK: Symbols [
13 # CHECK: Symbol {
14 # CHECK-NEXT: Name: ltmp0
15 # CHECK: Symbol {
16 # CHECK-NEXT: Name: local
17 # CHECK: Symbol {
18 # CHECK-NEXT: Name: ltmp1
19 # CHECK: Symbol {
20 # CHECK-NEXT: Name: .Llocal
21 # CHECK: Symbol {
22 # CHECK-NEXT: Name: g1
23 # CHECK: Symbol {
24 # CHECK-NEXT: Name: g2
25 # CHECK: Symbol {
26 # CHECK-NEXT: Name: g3
27 # CHECK-NOT: Symbol {
28 # CHECK: ]
30 .globl g1
32 .addrsig
33 .addrsig_sym g1
34 .globl g2
35 .addrsig_sym g3
36 .addrsig_sym local
37 .addrsig_sym .Llocal
38 .addrsig_sym .Lunseen
39 .addrsig_sym unseen
41 local:
42 nop
43 .globl g3
45 .data
46 .Llocal:
48 .subsections_via_symbols