1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
| # RUN: yaml2obj %s > %t.o
# RUN: llvm-nm %t.o --debug-syms --format=sysv | FileCheck %s
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Symbols:
- Name: symbol_notype
Type: STT_NOTYPE
- Name: symbol_common
Type: STT_COMMON
- Name: symbol_tls
Type: STT_TLS
- Name: symbol_file
Type: STT_FILE
- Name: symbol_obj
Type: STT_OBJECT
- Name: symbol_func
Type: STT_FUNC
- Name: unknown_7
Type: 7
- Name: unknown_8
Type: 8
- Name: unknown_9
Type: 9
- Name: symbol_ifunc
Type: STT_GNU_IFUNC
- Name: os_specific_10
Type: 10
- Name: os_specific_11
Type: 11
- Name: os_specific_12
Type: 12
- Name: proc_specific_13
Type: 13
- Name: proc_specific_14
Type: 14
- Name: proc_specific_15
Type: 15
# CHECK: os_specific_10 | | U | IFUNC| | |*UND*
# CHECK-NEXT: os_specific_11 | | U | <OS specific>: 11| | |*UND*
# CHECK-NEXT: os_specific_12 | | U | <OS specific>: 12| | |*UND*
# CHECK-NEXT: proc_specific_13 | | U |<processor specific>: 13| | |*UND*
# CHECK-NEXT: proc_specific_14 | | U |<processor specific>: 14| | |*UND*
# CHECK-NEXT: proc_specific_15 | | U |<processor specific>: 15| | |*UND*
# CHECK-NEXT: symbol_common | | U | COMMON| | |*COM*
# CHECK-NEXT: symbol_file | | U | FILE| | |*UND*
# CHECK-NEXT: symbol_func | | U | FUNC| | |*UND*
# CHECK-NEXT: symbol_ifunc | | U | IFUNC| | |*UND*
# CHECK-NEXT: symbol_notype | | U | NOTYPE| | |*UND*
# CHECK-NEXT: symbol_obj | | U | OBJECT| | |*UND*
# CHECK-NEXT: symbol_tls | | U | TLS| | |*UND*
# CHECK-NEXT: unknown_7 | | U | <unknown>: 7| | |*UND*
# CHECK-NEXT: unknown_8 | | U | <unknown>: 8| | |*UND*
# CHECK-NEXT: unknown_9 | | U | <unknown>: 9| | |*UND*
|