• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Test --special-syms flag.
2# RUN: yaml2obj %s -o %t
3
4# RUN: llvm-nm %t | count 0
5# RUN: llvm-nm %t --special-syms | FileCheck %s
6
7!ELF
8FileHeader:
9  Class:           ELFCLASS64
10  Data:            ELFDATA2LSB
11  Type:            ET_REL
12  Machine:         EM_AARCH64
13Sections:
14  - Name:            .text
15    Type:            SHT_PROGBITS
16    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
17    Address:         0x1000
18  - Name:            .data
19    Type:            SHT_PROGBITS
20    Flags:           [ SHF_ALLOC, SHF_WRITE ]
21    Address:         0x2000
22Symbols:
23  - Name:     $x.1
24    Section:  .text
25  - Name:     $d.1
26    Section:  .data
27
28# CHECK:      2000 d $d.1
29# CHECK-NEXT: 1000 t $x.1
30