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
7 ; MACHO-NEXT: .long 1 ## 0x1
8 ; MACHO-NEXT: .alt_entry _f
9 ; MACHO-NEXT: _f: ## @f
10 ; ELF: .type f,@function
11 ; ELF-NEXT: .long 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