[RISCV][test][llvm-objdump] Add test cases for objdump's handling of RISCV arch attri...
authorAlex Bradbury <asb@igalia.com>
Tue, 14 Mar 2023 16:05:14 +0000 (16:05 +0000)
committerAlex Bradbury <asb@igalia.com>
Tue, 14 Mar 2023 16:05:14 +0000 (16:05 +0000)
commit0ae8f5ac08ae61519e965808cf72f4f6ff09928d
treebbd552d0832459bddee202b4002bc741a7612895
parenta7d80f43cb8d3a2deb09f57d0904732d40020752
[RISCV][test][llvm-objdump] Add test cases for objdump's handling of RISCV arch attributes

In preparation for a follow-up patch to adjust the policy. The error for
an unrecognized version of the base ISA is particularly problematic, as
binaries produced from a current GCC are rejected.

The testing approach is modeled on the riscv-attributes.s file in
lld/test/ELF.
llvm/test/tools/llvm-objdump/ELF/RISCV/riscv-attributes.s [new file with mode: 0644]