diff options
author | Sam Elliott <selliott@lowrisc.org> | 2019-09-10 16:24:03 +0000 |
---|---|---|
committer | Sam Elliott <selliott@lowrisc.org> | 2019-09-10 16:24:03 +0000 |
commit | d57de491be0ba4fea88566bc0803773c53dc8414 (patch) | |
tree | d10f4c845fe607b2493a6b73c0baf6a7f47cc06b /llvm/test/MC/RISCV/rv64c-valid.s | |
parent | c0ceca5883060bfaf501007d76640821d825828b (diff) | |
download | bcm5719-llvm-d57de491be0ba4fea88566bc0803773c53dc8414.tar.gz bcm5719-llvm-d57de491be0ba4fea88566bc0803773c53dc8414.zip |
[RISCV] Support llvm-objdump -M no-aliases and -M numeric
Summary:
Now that llvm-objdump allows target-specific options, we match the
`no-aliases` and `numeric` options for RISC-V, as supported by GNU objdump.
This is done by overriding the variables used for the command-line options, so
that the command-line options are still supported.
This patch updates all tests using `llvm-objdump -riscv-no-aliases` to use
`llvm-objdump -M no-aliases`.
Reviewers: luismarques, asb
Reviewed By: luismarques, asb
Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66139
llvm-svn: 371534
Diffstat (limited to 'llvm/test/MC/RISCV/rv64c-valid.s')
-rw-r--r-- | llvm/test/MC/RISCV/rv64c-valid.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/RISCV/rv64c-valid.s b/llvm/test/MC/RISCV/rv64c-valid.s index 959aaf34fa5..277a6b26d88 100644 --- a/llvm/test/MC/RISCV/rv64c-valid.s +++ b/llvm/test/MC/RISCV/rv64c-valid.s @@ -1,7 +1,7 @@ # RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases -show-encoding \ # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \ -# RUN: | llvm-objdump -mattr=+c -riscv-no-aliases -d -r - \ +# RUN: | llvm-objdump -mattr=+c -M no-aliases -d -r - \ # RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s # # |