1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck --check-prefix=MACHO %s
2 ; RUN: llc < %s -mtriple=x86_64-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
14 define void @f() prefix i32 1 {
19 ; MACHO-NEXT: .quad _i
20 ; MACHO-NEXT: .alt_entry _g
22 ; ELF: .type g,@function
25 define void @g() prefix i32* @i {
29 ; MACHO: .subsections_via_symbols