1 # RUN: yaml2obj %s -o=%t
2 # RUN: obj2yaml %t | FileCheck %s
3 # RUN: llvm-objdump --macho --exports-trie %t | FileCheck %s --check-prefix=OBJDUMP-VERIFY
60 - cmd: LC_DYLD_INFO_ONLY
98 - cmd: LC_LOAD_DYLINKER
101 Content: /usr/lib/dyld
105 uuid: 461A1B28-822F-3F38-B670-645419E636F5
106 - cmd: LC_VERSION_MIN_MACOSX
110 - cmd: LC_SOURCE_VERSION
122 current_version: 7864576
123 compatibility_version: 65536
124 Content: '/usr/lib/libc++.1.dylib'
131 current_version: 80349697
132 compatibility_version: 65536
133 Content: /usr/lib/libSystem.B.dylib
135 - cmd: LC_FUNCTION_STARTS
139 - cmd: LC_DATA_IN_CODE
148 Flags: 0x0000000000000000
149 Address: 0x0000000000000000
150 Other: 0x0000000000000000
156 Flags: 0x0000000000000000
157 Address: 0x0000000000000000
158 Other: 0x0000000000000000
163 Name: _mh_execute_header
164 Flags: 0x0000000000000000
165 Address: 0x0000000000000000
166 Other: 0x0000000000000000
171 Flags: 0x0000000000000000
172 Address: 0x0000000000003FA0
173 Other: 0x0000000000000000
178 #CHECK: TerminalSize: 0
179 #CHECK: NodeOffset: 0
182 #CHECK: - TerminalSize: 0
183 #CHECK: NodeOffset: 5
186 #CHECK: - TerminalSize: 2
187 #CHECK: NodeOffset: 33
188 #CHECK: Name: _mh_execute_header
190 #CHECK: - TerminalSize: 3
191 #CHECK: NodeOffset: 37
193 #CHECK: Address: 0x3FA0
195 # OBJDUMP-VERIFY: Exports trie:
196 # OBJDUMP-VERIFY: 0x100000000 __mh_execute_header
197 # OBJDUMP-VERIFY: 0x100003FA0 _main