[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / ObjectYAML / MachO / weak_bind_opcode.yaml
blobf3a0239a77a130cbb74c943998b9a953079ac5a4
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !mach-o
4 FileHeader:      
5   magic:           0xFEEDFACF
6   cputype:         0x01000007
7   cpusubtype:      0x80000003
8   filetype:        0x00000002
9   ncmds:           4
10   sizeofcmds:      224
11   flags:           0x00218085
12   reserved:        0x00000000
13 LoadCommands:    
14   - cmd:             LC_SEGMENT_64
15     cmdsize:         72
16     segname:         __LINKEDIT
17     vmaddr:          4294979584
18     vmsize:          4096
19     fileoff:         1024
20     filesize:        2508
21     maxprot:         7
22     initprot:        1
23     nsects:          0
24     flags:           0
25   - cmd:             LC_DYLD_INFO_ONLY
26     cmdsize:         48
27     rebase_off:      1024
28     rebase_size:     8
29     bind_off:        0
30     bind_size:       0
31     weak_bind_off:   1032
32     weak_bind_size:  96
33     lazy_bind_off:   1128
34     lazy_bind_size:  624
35     export_off:      1752
36     export_size:     48
37   - cmd:             LC_SYMTAB
38     cmdsize:         24
39     symoff:          1816
40     nsyms:           30
41     stroff:          2436
42     strsize:         1096
43   - cmd:             LC_DYSYMTAB
44     cmdsize:         80
45     ilocalsym:       0
46     nlocalsym:       9
47     iextdefsym:      9
48     nextdefsym:      2
49     iundefsym:       11
50     nundefsym:       19
51     tocoff:          0
52     ntoc:            0
53     modtaboff:       0
54     nmodtab:         0
55     extrefsymoff:    0
56     nextrefsyms:     0
57     indirectsymoff:  2296
58     nindirectsyms:   35
59     extreloff:       0
60     nextrel:         0
61     locreloff:       0
62     nlocrel:         0
63 LinkEditData:    
64   WeakBindOpcodes:     
65     - Opcode:          BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
66       Imm:             1
67     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
68       Imm:             0
69       Symbol:          __ZNSt3__14coutE
70     - Opcode:          BIND_OPCODE_SET_TYPE_IMM
71       Imm:             1
72     - Opcode:          BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
73       Imm:             2
74       ULEBExtraData:   
75         - 0x0000000000000000
76     - Opcode:          BIND_OPCODE_DO_BIND
77       Imm:             0
78     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
79       Imm:             0
80       Symbol:          __ZNSt3__15ctypeIcE2idE
81     - Opcode:          BIND_OPCODE_DO_BIND
82       Imm:             0
83     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
84       Imm:             0
85       Symbol:          ___gxx_personality_v0
86     - Opcode:          BIND_OPCODE_DO_BIND
87       Imm:             0
88     - Opcode:          BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
89       Imm:             2
90     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
91       Imm:             0
92       Symbol:          dyld_stub_binder
93     - Opcode:          BIND_OPCODE_DO_BIND
94       Imm:             0
95     - Opcode:          BIND_OPCODE_DONE
96       Imm:             0
97 ...
99 #CHECK: LinkEditData:    
100 #CHECK:   WeakBindOpcodes:     
101 #CHECK:     - Opcode:          BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
102 #CHECK:       Imm:             1
103 #CHECK:     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
104 #CHECK:       Imm:             0
105 #CHECK:       Symbol:          __ZNSt3__14coutE
106 #CHECK:     - Opcode:          BIND_OPCODE_SET_TYPE_IMM
107 #CHECK:       Imm:             1
108 #CHECK:     - Opcode:          BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
109 #CHECK:       Imm:             2
110 #CHECK:       ULEBExtraData:   [ 0x0 ]
111 #CHECK:     - Opcode:          BIND_OPCODE_DO_BIND
112 #CHECK:       Imm:             0
113 #CHECK:     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
114 #CHECK:       Imm:             0
115 #CHECK:       Symbol:          __ZNSt3__15ctypeIcE2idE
116 #CHECK:     - Opcode:          BIND_OPCODE_DO_BIND
117 #CHECK:       Imm:             0
118 #CHECK:     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
119 #CHECK:       Imm:             0
120 #CHECK:       Symbol:          ___gxx_personality_v0
121 #CHECK:     - Opcode:          BIND_OPCODE_DO_BIND
122 #CHECK:       Imm:             0
123 #CHECK:     - Opcode:          BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
124 #CHECK:       Imm:             2
125 #CHECK:     - Opcode:          BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
126 #CHECK:       Imm:             0
127 #CHECK:       Symbol:          dyld_stub_binder
128 #CHECK:     - Opcode:          BIND_OPCODE_DO_BIND
129 #CHECK:       Imm:             0
130 #CHECK:     - Opcode:          BIND_OPCODE_DONE
131 #CHECK:       Imm:             0