Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / MC / MachO / linker-options.ll
1 ; RUN: llc -O0 -mtriple=x86_64-apple-darwin -o - %s > %t
2 ; RUN: FileCheck --check-prefix=CHECK-ASM < %t %s
3
4 ; CHECK-ASM: .linker_option "-lz"
5 ; CHECK-ASM-NEXT: .linker_option "-framework", "Cocoa"
6
7 ; RUN: llc -O0 -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | llvm-readobj -macho-linker-options > %t
8 ; RUN: FileCheck --check-prefix=CHECK-OBJ < %t %s
9
10 ; CHECK-OBJ: Linker Options {
11 ; CHECK-OBJ:   Size: 16
12 ; CHECK-OBJ:   Strings [
13 ; CHECK-OBJ:     Value: -lz
14 ; CHECK-OBJ:   ]
15 ; CHECK-OBJ: }
16 ; CHECK-OBJ: Linker Options {
17 ; CHECK-OBJ:   Size: 32
18 ; CHECK-OBJ:   Strings [
19 ; CHECK-OBJ:     Value: -framework
20 ; CHECK-OBJ:     Value: Cocoa
21 ; CHECK-OBJ:   ]
22 ; CHECK-OBJ: }
23 ; CHECK-OBJ: Linker Options {
24 ; CHECK-OBJ:   Size: 24
25 ; CHECK-OBJ:   Strings [
26 ; CHECK-OBJ:     Value: -lmath
27 ; CHECK-OBJ:   ]
28 ; CHECK-OBJ: }
29
30 !0 = !{i32 6, !"Linker Options", !{!{!"-lz"}, !{!"-framework", !"Cocoa"}, !{!"-lmath"}}}
31
32 !llvm.module.flags = !{ !0 }