repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
MachO
/
invalid
/
alignment-too-large.yaml
blob
8abe2ef7f499647cbc6a727df5d919f110e79f3f
1
# RUN: yaml2obj %s -o %t.o
2
# RUN: not %lld -o %t %t.o 2>&1 | FileCheck %s
3
#
4
# CHECK: error: alignment 32 of section __text is too large
5
--- !mach-o
6
FileHeader:
7
magic: 0xFEEDFACF
8
cputype: 0x01000007
9
cpusubtype: 0x00000003
10
filetype: 0x00000001
11
ncmds: 4
12
sizeofcmds: 280
13
flags: 0x00000000
14
reserved: 0x00000000
15
LoadCommands:
16
- cmd: LC_SEGMENT_64
17
cmdsize: 152
18
segname: ''
19
vmaddr: 0
20
vmsize: 8
21
fileoff: 312
22
filesize: 8
23
maxprot: 7
24
initprot: 7
25
nsects: 1
26
flags: 0
27
Sections:
28
- sectname: __text
29
segname: __TEXT
30
addr: 0x0000000000000000
31
size: 8
32
offset: 0x00000138
33
align: 32
34
reloff: 0x00000000
35
nreloc: 0
36
flags: 0x80000400
37
reserved1: 0x00000000
38
reserved2: 0x00000000
39
reserved3: 0x00000000
40
content: 48C7C000000000C3
41
- cmd: LC_SYMTAB
42
cmdsize: 24
43
symoff: 320
44
nsyms: 1
45
stroff: 336
46
strsize: 8
47
LinkEditData:
48
NameList:
49
- n_strx: 1
50
n_type: 0x0F
51
n_sect: 1
52
n_desc: 0
53
n_value: 0
54
StringTable:
55
- ''
56
- _main
57
- ''
58
...