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
/
debug-syms.test
blob
d10308002a1d6cc8d9a8bebeb6dcd832ce6b7596
1
# RUN: yaml2obj %s > %t.o
2
# RUN: llvm-nm --debug-syms %t.o | FileCheck %s --implicit-check-not U
3
# RUN: llvm-nm -a %t.o | FileCheck %s --implicit-check-not U
4
5
!ELF
6
FileHeader:
7
Class: ELFCLASS64
8
Data: ELFDATA2LSB
9
Type: ET_REL
10
Machine: EM_ARM
11
Sections:
12
- Name: section
13
Type: SHT_PROGBITS
14
Symbols:
15
- Name: ""
16
Type: STT_SECTION
17
Section: section
18
- Name: file_sym
19
Type: STT_FILE
20
Index: SHN_ABS
21
- Name: $d
22
Section: section
23
- Name: $t
24
Section: section
25
- Name: $a
26
Section: section
27
28
# CHECK: $a
29
# CHECK-NEXT: $d
30
# CHECK-NEXT: $t
31
# CHECK-NEXT: file_sym
32
# CHECK-NEXT: section