[lld] 9e7a3ee - [lld] Fix RISCV vendor relocation testcase to require RISCV
Owen Anderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 24 04:51:09 PDT 2025
Author: Owen Anderson
Date: 2025-10-24T20:50:54+09:00
New Revision: 9e7a3ee5ff85a6c6838b20734822d658744e9bf3
URL: https://github.com/llvm/llvm-project/commit/9e7a3ee5ff85a6c6838b20734822d658744e9bf3
DIFF: https://github.com/llvm/llvm-project/commit/9e7a3ee5ff85a6c6838b20734822d658744e9bf3.diff
LOG: [lld] Fix RISCV vendor relocation testcase to require RISCV
Fixes test issue introduced in 357b030f5e62a5891fd6120c02aa28d0874f0a06
Added:
lld/test/ELF/riscv-vendor-relocations.s
Modified:
Removed:
lld/test/riscv-vendor-relocations.s
################################################################################
diff --git a/lld/test/riscv-vendor-relocations.s b/lld/test/ELF/riscv-vendor-relocations.s
similarity index 96%
rename from lld/test/riscv-vendor-relocations.s
rename to lld/test/ELF/riscv-vendor-relocations.s
index 6ccec528f3d40..b0f3c4a30d060 100644
--- a/lld/test/riscv-vendor-relocations.s
+++ b/lld/test/ELF/riscv-vendor-relocations.s
@@ -1,3 +1,4 @@
+# REQUIRES: riscv
# RUN: llvm-mc -triple riscv32 %s -filetype=obj -o %t.o
# RUN: not ld.lld -pie %t.o -o /dev/null 2>&1 | FileCheck %s
More information about the llvm-commits
mailing list