1 ; RUN: llc -mtriple=arm64-apple-macosx %s -o - | FileCheck %s
3 ; CHECK-LABEL: .section __MY_DATA,__my_data
7 @data = global i32 42 #0
9 ; CHECK-LABEL: .section __MY_BSS,__my_bss
13 @bss = global i32 0 #0
15 ; CHECK-LABEL: .section __MY_RODATA,__my_rodata
16 ; CHECK: .globl _const
19 @const = constant i32 42 #0
21 ; CHECK-LABEL: .section __MY_RELRO,__my_relro
22 ; CHECK: .globl _vars_relro
26 @vars_relro = hidden constant [2 x ptr] [ptr @data, ptr @bss], align 16 #0
28 attributes #0 = { "data-section"="__MY_DATA,__my_data" "bss-section"="__MY_BSS,__my_bss" "rodata-section"="__MY_RODATA,__my_rodata" "relro-section"="__MY_RELRO,__my_relro" }