18 lines · plain
1## We only implement attribute section printing for little-endian encoding.2 3# RUN: yaml2obj %s -o %t.o4# RUN: llvm-readobj -A %t.o 2>&1 | FileCheck %s -DFILE=%t.o5 6# CHECK: warning: '[[FILE]]': attribute printing not implemented for big-endian RISC-V objects7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411## Test big-endian encoding.12 Data: ELFDATA2MSB13 Type: ET_REL14 Machine: EM_RISCV15Sections:16 - Name: .riscv.attributes17 Type: SHT_RISCV_ATTRIBUTES18