[llvm] [bolt][test] Require asserts in X86/match-functions-with-calls-as-anchors.test (PR #98882)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 03:35:00 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Daniel Bertalan (BertalanD)
<details>
<summary>Changes</summary>
Otherwise, it fails due to the unsupported `--debug` flag in non-asserts builds.
---
Full diff: https://github.com/llvm/llvm-project/pull/98882.diff
1 Files Affected:
- (modified) bolt/test/X86/match-functions-with-calls-as-anchors.test (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/98882
More information about the llvm-commits
mailing list