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
[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git]
/
test
/
tools
/
llvm-nm
/
nobits.test
blob
ad07e3ddaf249612b6ecf91fde78872093a117f7
1
# RUN: yaml2obj %s -o %t
2
# RUN: llvm-nm --no-sort %t | FileCheck %s
3
4
# CHECK: b mybss_local
5
# CHECK: b mytbss_local
6
# CHECK: B mybss_global
7
# CHECK: B mytbss_global
8
9
!ELF
10
FileHeader:
11
Class: ELFCLASS64
12
Data: ELFDATA2LSB
13
Type: ET_REL
14
Machine: EM_X86_64
15
Sections:
16
- Name: mybss
17
Type: SHT_NOBITS
18
Flags: [ SHF_ALLOC, SHF_WRITE ]
19
- Name: mytbss
20
Type: SHT_NOBITS
21
Flags: [ SHF_ALLOC, SHF_WRITE, SHF_TLS ]
22
Symbols:
23
- Name: mybss_local
24
Binding: STB_LOCAL
25
Section: mybss
26
- Name: mytbss_local
27
Binding: STB_LOCAL
28
Section: mytbss
29
30
- Name: mybss_global
31
Binding: STB_GLOBAL
32
Section: mybss
33
- Name: mytbss_global
34
Binding: STB_GLOBAL
35
Section: mytbss