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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-nm
/
print-size.test
blob
52a5a1a9f5fd673c52b6d729f073ea52e0c187fe
1
# RUN: yaml2obj %s -o %t.o
2
# RUN: llvm-nm --print-size %t.o | FileCheck %s --strict-whitespace
3
# RUN: llvm-nm -S %t.o | FileCheck %s --strict-whitespace
4
5
!ELF
6
FileHeader:
7
Class: ELFCLASS64
8
Data: ELFDATA2LSB
9
Type: ET_REL
10
Machine: EM_X86_64
11
Sections:
12
- Name: .text
13
Type: SHT_PROGBITS
14
Symbols:
15
- Name: a_symbol
16
Size: 0x123456789abcdef0
17
Section: .text
18
Binding: STB_GLOBAL
19
20
# CHECK: 0000000000000000 123456789abcdef0 N a_symbol