[llvm] [BOLT][NFC] Fix test requirement (PR #100867)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 05:00:43 PDT 2024


https://github.com/yota9 created https://github.com/llvm/llvm-project/pull/100867

Tests that are using instrumentation should have bolt-runtime in
requirements


>From 1ee646515ae562836da9b8a0199026443efecbdc Mon Sep 17 00:00:00 2001
From: Vladislav Khmelevsky <och95 at yandex.ru>
Date: Sat, 27 Jul 2024 15:58:33 +0400
Subject: [PATCH] [BOLT][NFC] Fix test requirement

Tests that are using instrumentation should have bolt-runtime in
requirements
---
 bolt/test/AArch64/dummy-return.s | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bolt/test/AArch64/dummy-return.s b/bolt/test/AArch64/dummy-return.s
index a446343161730..91f89dcb84762 100644
--- a/bolt/test/AArch64/dummy-return.s
+++ b/bolt/test/AArch64/dummy-return.s
@@ -1,4 +1,6 @@
-# REQUIRES: system-linux,target=aarch64{{.*}}
+# This test checks instrumentation of static binary on AArch64.
+
+# REQUIRES: system-linux,bolt-runtime,target=aarch64{{.*}}
 
 # RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -static



More information about the llvm-commits mailing list