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
[yaml2obj][obj2yaml] - Do not create a symbol table by default.
[llvm-complete.git]
/
test
/
tools
/
yaml2obj
/
elf-symtab-shtype.yaml
blob
fff18607dca18c2031b49d36a1310359567f7c39
1
## Check we dont crash when .symtab has type different from SHT_SYMTAB.
2
# RUN: yaml2obj %s -o %t
3
# RUN: llvm-readobj --sections %t | FileCheck %s
4
5
# CHECK: Name: .symtab
6
# CHECK-NEXT: Type: SHT_DYNAMIC
7
8
--- !ELF
9
FileHeader:
10
Class: ELFCLASS64
11
Data: ELFDATA2LSB
12
Type: ET_REL
13
Machine: EM_X86_64
14
Sections:
15
- Name: .symtab
16
Type: SHT_DYNAMIC
17
Symbols:
18
- Name: foo
19
Binding: STB_GLOBAL