[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-objcopy / MachO / virtual-section.test
blob6e53702791b4a57c444fd7a8742163935691ca90
1 ## This test verifies that a virtual section does not contribute to the final
2 ## output size.
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:          4096
23     fileoff:         152
24     filesize:        0
25     maxprot:         7
26     initprot:        7
27     nsects:          1
28     flags:           0
29     Sections:
30       - sectname:        __bss
31         segname:         __DATA
32         addr:            0x0000000000001000
33         size:            4096
34         offset:          0x00000000
35         align:           2
36         reloff:          0x00000000
37         nreloc:          0
38         flags:           0x00000001
39         reserved1:       0x00000000
40         reserved2:       0x00000000
41         reserved3:       0x00000000
42 ...