[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-objcopy / MachO / zero-offset-section.test
blob3d14c34ec7411b2ca11b8d35eb79b69b6ac16a61
1 ## This test verifies that a regular (non-zero-fill) section with zero offset 
2 ## and zero size is not modifed, this behavior is consistent with cctools' strip.
4 # RUN: yaml2obj %s -o %t
5 # RUN: llvm-objcopy %t %t.copy
6 # RUN: cmp %t %t.copy
8 --- !mach-o
9 FileHeader:
10   magic:           0xFEEDFACE
11   cputype:         0x00000007
12   cpusubtype:      0x00000003
13   filetype:        0x00000001
14   ncmds:           1
15   sizeofcmds:      124
16   flags:           0x00002000
17 LoadCommands:
18   - cmd:             LC_SEGMENT
19     cmdsize:         124
20     segname:         __DATA
21     vmaddr:          4096
22     vmsize:          0
23     fileoff:         152
24     filesize:        0
25     maxprot:         7
26     initprot:        7
27     nsects:          1
28     flags:           0
29     Sections:
30       - sectname:        __broken
31         segname:         __DATA
32         addr:            0x0000000000001000
33         size:            0
34         offset:          0x00000000
35         align:           2
36         reloff:          0x00000000
37         nreloc:          0
38         flags:           0x00000000
39         reserved1:       0x00000000
40         reserved2:       0x00000000
41         reserved3:       0x00000000
42         content:         ''
43 ...