mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 21:04:56 +00:00
[RISCV][NFC] s/riscv32-linux-unknown-elf/riscv32-unknown-linux-gnu in test/Driver/riscv32-toolchain.c
riscv32-linux-unknown-elf was a weird thing to test for as it doesn't match the triple used in any common RISC-V toolchain distributions (e.g. riscv-gnu-toolchain scripts produce riscv{32,64}-unknown-linux-gnu). llvm-svn: 357693
This commit is contained in:
parent
ea3f97d278
commit
a0ce4ac0c8
@ -68,7 +68,7 @@
|
||||
// CXX-RV32-BAREMETAL-NOSYSROOT-ILP32: "{{.*}}/Inputs/basic_riscv32_tree/lib/gcc/riscv32-unknown-elf/8.0.1{{/|\\\\}}crtend.o"
|
||||
|
||||
// RUN: %clang %s -### -no-canonical-prefixes -fuse-ld=ld \
|
||||
// RUN: -target riscv32-linux-unknown-elf \
|
||||
// RUN: -target riscv32-unknown-linux-gnu \
|
||||
// RUN: --gcc-toolchain=%S/Inputs/multilib_riscv_linux_sdk \
|
||||
// RUN: --sysroot=%S/Inputs/multilib_riscv_linux_sdk/sysroot 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=C-RV32-LINUX-MULTI-ILP32 %s
|
||||
@ -84,7 +84,7 @@
|
||||
// C-RV32-LINUX-MULTI-ILP32: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib32/ilp32"
|
||||
|
||||
// RUN: %clang %s -### -no-canonical-prefixes -fuse-ld=ld \
|
||||
// RUN: -target riscv32-linux-unknown-elf -march=rv32imafd -mabi=ilp32d \
|
||||
// RUN: -target riscv32-unknown-linux-gnu -march=rv32imafd -mabi=ilp32d \
|
||||
// RUN: --gcc-toolchain=%S/Inputs/multilib_riscv_linux_sdk \
|
||||
// RUN: --sysroot=%S/Inputs/multilib_riscv_linux_sdk/sysroot 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=C-RV32-LINUX-MULTI-ILP32D %s
|
||||
|
Loading…
Reference in New Issue
Block a user