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-gnu-unique-symbols.yaml
blob
e045b52c202ff2aeadd40b0c06f782e727d0ace8
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-readobj --symbols %t | FileCheck %s
3
4
## Check yaml2obj is able to create the STB_GNU_UNIQUE symbol.
5
6
# CHECK: Name: foo
7
# CHECK-NEXT: Value:
8
# CHECK-NEXT: Size:
9
# CHECK-NEXT: Binding: Unique
10
11
--- !ELF
12
FileHeader:
13
Class: ELFCLASS64
14
Data: ELFDATA2LSB
15
OSABI: ELFOSABI_GNU
16
Type: ET_REL
17
Machine: EM_X86_64
18
Symbols:
19
- Name: foo
20
Type: STT_OBJECT
21
Binding: STB_GNU_UNIQUE