Skip to content

[bolt][test] Require asserts in X86/match-functions-with-calls-as-anchors.test #98882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

BertalanD
Copy link
Member

Otherwise, it fails due to the unsupported --debug flag in non-asserts builds.

…hors.test

Otherwise, it fails due to the unsupported `--debug` flag in non-asserts
builds.
@llvmbot
Copy link
Member

llvmbot commented Jul 15, 2024

@llvm/pr-subscribers-bolt

Author: Daniel Bertalan (BertalanD)

Changes

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 --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

@BertalanD BertalanD merged commit c6b3f50 into llvm:main Jul 15, 2024
8 checks passed
yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
…hors.test (#98882)

Summary:
Otherwise, it fails due to the unsupported `--debug` flag in non-asserts
builds.

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D60251760
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants