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
[clangd] Fix warnings
[llvm-project.git]
/
llvm
/
test
/
tools
/
yaml2obj
/
ELF
/
gnu-unique-symbols.yaml
blob
47959eaba020c729532a0861e1f72dae2f755bf9
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
Symbols:
18
- Name: foo
19
Type: STT_OBJECT
20
Binding: STB_GNU_UNIQUE