[llvm] [BOLT] Fix the instrumentation test case (PR #76078)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 09:14:07 PST 2023


https://github.com/llongint created https://github.com/llvm/llvm-project/pull/76078


Add REQUIRES:bolt-runtime to the instrumentation test cases.

>From 9ede23343cebefa85221aaea3f70aa40038f3f19 Mon Sep 17 00:00:00 2001
From: hezuoqiang <hezuoqiang at huawei.com>
Date: Thu, 21 Dec 2023 01:09:08 +0800
Subject: [PATCH]  [BOLT] Fix the instrumentation test case

---
 bolt/test/runtime/instrumentation-indirect-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bolt/test/runtime/instrumentation-indirect-2.c b/bolt/test/runtime/instrumentation-indirect-2.c
index 7d19db14b77f0a..9319186d03c945 100644
--- a/bolt/test/runtime/instrumentation-indirect-2.c
+++ b/bolt/test/runtime/instrumentation-indirect-2.c
@@ -50,7 +50,7 @@ int main() {
   return 0;
 }
 /*
-REQUIRES: system-linux,shell,fuser
+REQUIRES: system-linux,shell,fuser,bolt-runtime
 
 RUN: %clang %cflags %s -o %t.exe -Wl,-q -pie -fpie
 



More information about the llvm-commits mailing list