1 ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck --check-prefix=MACHO %s
2 ; RUN: llc < %s -mtriple=aarch64-pc-linux | FileCheck --check-prefix=ELF %s
4 @i = linkonce_odr global i32 1
8 ; MACHO-NEXT: .alt_entry _f
10 ; ELF: .type f,@function
11 ; ELF-NEXT: .word 1 // 0x1
13 define void @f() prefix i32 1 {
18 ; MACHO-NEXT: .quad _i
19 ; MACHO-NEXT: .alt_entry _g
21 ; ELF: .type g,@function
24 define void @g() prefix ptr @i {
28 ; MACHO: .subsections_via_symbols