[llvm] [bolt][test] Require asserts in X86/match-functions-with-calls-as-anchors.test (PR #98882)
Daniel Bertalan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 03:34:41 PDT 2024
https://github.com/BertalanD created https://github.com/llvm/llvm-project/pull/98882
Otherwise, it fails due to the unsupported `--debug` flag in non-asserts builds.
>From 7a50004de937ed37e4765ba70edac6747fc7f453 Mon Sep 17 00:00:00 2001
From: Daniel Bertalan <dani at danielbertalan.dev>
Date: Mon, 15 Jul 2024 12:31:37 +0200
Subject: [PATCH] [bolt][test] Require asserts in
X86/match-functions-with-calls-as-anchors.test
Otherwise, it fails due to the unsupported `--debug` flag in non-asserts
builds.
---
bolt/test/X86/match-functions-with-calls-as-anchors.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bolt/test/X86/match-functions-with-calls-as-anchors.test b/bolt/test/X86/match-functions-with-calls-as-anchors.test
index 7fef128453a07..984d614fbf85f 100644
--- a/bolt/test/X86/match-functions-with-calls-as-anchors.test
+++ b/bolt/test/X86/match-functions-with-calls-as-anchors.test
@@ -1,6 +1,6 @@
## Tests blocks matching by called function names in inferStaleProfile.
-# REQUIRES: system-linux
+# REQUIRES: system-linux, asserts
# RUN: split-file %s %t
# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %t/main.s -o %t.o
# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -nostdlib
More information about the llvm-commits
mailing list