Debian Codegraph @

llvm/test/tools/llvm-readobj/ELF/RISCV/validate-attr-section.test

raw
1 ## We only implement attribute section printing for little-endian encoding.
2
3 # RUN: yaml2obj %s -o %t.o
4 # RUN: llvm-readobj -A %t.o 2>&1 | FileCheck %s -DFILE=%t.o
5
6 # CHECK: warning: '[[FILE]]': attribute printing not implemented for big-endian RISC-V objects
7
8 --- !ELF
9 FileHeader:
10 Class: ELFCLASS64
11 ## Test big-endian encoding.
12 Data: ELFDATA2MSB
13 Type: ET_REL
14 Machine: EM_RISCV
15 Sections:
16 - Name: .riscv.attributes
17 Type: SHT_RISCV_ATTRIBUTES