xref: /aosp_15_r20/external/llvm/test/MC/MachO/linker-option-2.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -n -triple x86_64-apple-darwin10 %s -filetype=obj | llvm-readobj -macho-linker-options | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker.linker_option "a"
4*9880d681SAndroid Build Coastguard Worker.linker_option "a", "b"
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker// CHECK: Linker Options {
7*9880d681SAndroid Build Coastguard Worker// CHECK:   Size: 16
8*9880d681SAndroid Build Coastguard Worker// CHECK:   Strings [
9*9880d681SAndroid Build Coastguard Worker// CHECK:     Value: a
10*9880d681SAndroid Build Coastguard Worker// CHECK:   ]
11*9880d681SAndroid Build Coastguard Worker// CHECK: }
12*9880d681SAndroid Build Coastguard Worker// CHECK: Linker Options {
13*9880d681SAndroid Build Coastguard Worker// CHECK:   Size: 16
14*9880d681SAndroid Build Coastguard Worker// CHECK:   Strings [
15*9880d681SAndroid Build Coastguard Worker// CHECK:     Value: a
16*9880d681SAndroid Build Coastguard Worker// CHECK:     Value: b
17*9880d681SAndroid Build Coastguard Worker// CHECK:   ]
18*9880d681SAndroid Build Coastguard Worker// CHECK: }
19