[rtsan] Add fork/execve interceptors (#117198)
[llvm-project.git] / llvm / test / ObjectYAML / MachO / dylib_dylinker_command.yaml
blobd40546e67a73b7403eb3e56a84584bd499b93459
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:           3
10   sizeofcmds:      106
11   flags:           0x00218085
12   reserved:        0x00000000
13 LoadCommands:    
14   - cmd:             LC_LOAD_DYLINKER
15     cmdsize:         32
16     name:            12
17     Content:         /usr/lib/dyld
18     ZeroPadBytes:    7
19   - cmd:             LC_LOAD_DYLIB
20     cmdsize:         48
21     dylib:           
22       name:            24
23       timestamp:       2
24       current_version: 7864576
25       compatibility_version: 65536
26     Content:         '/usr/lib/libc++.1.dylib'
27     ZeroPadBytes:    1
28   - cmd:             LC_LOAD_DYLIB
29     cmdsize:         56
30     dylib:           
31       name:            24
32       timestamp:       2
33       current_version: 80349697
34       compatibility_version: 65536
35     Content:         /usr/lib/libSystem.B.dylib
36     ZeroPadBytes:    6
37 ...
39 #CHECK: LoadCommands:    
40 #CHECK:   - cmd:             LC_LOAD_DYLINKER
41 #CHECK:     cmdsize:         32
42 #CHECK:     name:            12
43 #CHECK:     Content:         '/usr/lib/dyld'
44 #CHECK:     ZeroPadBytes:    7
45 #CHECK:   - cmd:             LC_LOAD_DYLIB
46 #CHECK:     cmdsize:         48
47 #CHECK:     dylib:           
48 #CHECK:       name:            24
49 #CHECK:       timestamp:       2
50 #CHECK:       current_version: 7864576
51 #CHECK:       compatibility_version: 65536
52 #CHECK:     Content:         '/usr/lib/libc++.1.dylib'
53 #CHECK:     ZeroPadBytes:    1
54 #CHECK:   - cmd:             LC_LOAD_DYLIB
55 #CHECK:     cmdsize:         56
56 #CHECK:     dylib:           
57 #CHECK:       name:            24
58 #CHECK:       timestamp:       2
59 #CHECK:       current_version: 80349697
60 #CHECK:       compatibility_version: 65536
61 #CHECK:     Content:         '/usr/lib/libSystem.B.dylib'
62 #CHECK:     ZeroPadBytes:    6