[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / llvm / test / tools / llvm-nm / special-syms-riscv.test
blobf16df3623fc61a38d63de59ba2144bfb3a365570
1 ## Test --special-syms flag.
2 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-nm %t | count 0
5 # RUN: llvm-nm %t --special-syms | FileCheck %s
7 !ELF
8 FileHeader:
9   Class:           ELFCLASS64
10   Data:            ELFDATA2LSB
11   Type:            ET_REL
12   Machine:         EM_RISCV
13 Sections:
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
22 Symbols:
23   - Name:     $x.1
24     Section:  .text
25   - Name:     $d.1
26     Section:  .data
28 # CHECK:      2000 d $d.1
29 # CHECK-NEXT: 1000 t $x.1