repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
tools
/
llvm-objdump
/
macho-bad-dysymtab.test
blob
6f8cee766cf602fc61ce9f9d7c16090107e02c85
1
#RUN: yaml2obj %s > %t1.dylib
2
#RUN: not llvm-objdump -d %t1.dylib 2>&1 | FileCheck %s
3
4
--- !mach-o
5
FileHeader:
6
magic: 0xFEEDFACF
7
cputype: 0x01000007
8
cpusubtype: 0x80000003
9
filetype: 0x00000002
10
ncmds: 2
11
sizeofcmds: 104
12
flags: 0x00200085
13
reserved: 0x00000000
14
LoadCommands:
15
- cmd: LC_SYMTAB
16
cmdsize: 24
17
symoff: 136
18
nsyms: 3
19
stroff: 0
20
strsize: 0
21
- cmd: LC_DYSYMTAB
22
cmdsize: 80
23
ilocalsym: 0
24
nlocalsym: 0
25
iextdefsym: 4
26
#CHECK: truncated or malformed object (iextdefsym in LC_DYSYMTAB load command extends past the end of the symbol table)
27
nextdefsym: 2
28
iundefsym: 2
29
nundefsym: 1
30
tocoff: 0
31
ntoc: 0
32
modtaboff: 0
33
nmodtab: 0
34
extrefsymoff: 0
35
nextrefsyms: 0
36
indirectsymoff: 0
37
nindirectsyms: 0
38
extreloff: 0
39
nextrel: 0
40
locreloff: 0
41
nlocrel: 0
42
LinkEditData:
43
StringTable:
44
- ' '
45
- __mh_execute_header
46
- _main
47
- dyld_stub_binder
48
- ''
49
- ''
50
- ''
51
...