From 583b48bdf1b216e7e43df5a64bfc4dbfb0fce05e Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Wed, 17 May 2023 13:55:31 +0200 Subject: [PATCH] [JITLink][RISCV] Disable some relaxation tests on no-asserts builds Some tests used `-debug-only` which only exists on builds with asserts enabled. --- llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s | 1 + llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s index 8184f5c..480fbb8 100644 --- a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s +++ b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call.s @@ -1,3 +1,4 @@ +# REQUIRES: asserts # RUN: llvm-mc -triple=riscv32 -mattr=+relax -filetype=obj -o %t.rv32 %s # RUN: llvm-jitlink -noexec \ # RUN: -slab-allocate 100Kb -slab-address 0x1000 -slab-page-size 4096 \ diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s index 8549299..96ec4d4 100644 --- a/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s +++ b/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_relax_call_rvc.s @@ -1,3 +1,4 @@ +# REQUIRES: asserts # RUN: llvm-mc -triple=riscv32 -mattr=+relax,+c -filetype=obj -o %t.rv32 %s # RUN: llvm-jitlink -noexec \ # RUN: -slab-allocate 100Kb -slab-address 0x1000 -slab-page-size 4096 \ -- 2.7.4