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-nm
/
print-size.test
blob
4614fd1177cdc46f88354357a3f9dbce5b5b4525
1
# RUN: yaml2obj %s > %t.o
2
# RUN: llvm-nm --print-size %t.o | FileCheck %s --strict-whitespace
3
4
!ELF
5
FileHeader:
6
Class: ELFCLASS64
7
Data: ELFDATA2LSB
8
Type: ET_REL
9
Machine: EM_X86_64
10
Sections:
11
- Name: .text
12
Type: SHT_PROGBITS
13
Symbols:
14
- Name: a_symbol
15
Size: 0x123456789abcdef0
16
Section: .text
17
Binding: STB_GLOBAL
18
19
# CHECK: 0000000000000000 123456789abcdef0 N a_symbol