1 # RUN: llvm-mc -triple=riscv32 -filetype=obj %s | llvm-readelf -Ss - | FileCheck %s
2 # RUN: llvm-mc -triple=riscv64 -filetype=obj %s | llvm-readelf -Ss - | FileCheck %s
21 ## Capture section index.
22 # CHECK: [[#TEXT:]]] .text
24 # CHECK: Value Size Type Bind Vis Ndx Name
25 # CHECK: 00000000 0 NOTYPE LOCAL DEFAULT [[#TEXT]] $x
26 # CHECK: 00000004 0 NOTYPE LOCAL DEFAULT [[#TEXT]] $d
27 # CHECK: 00000064 0 NOTYPE LOCAL DEFAULT [[#TEXT]] $x