Skip to content

Commit 841a416

Browse files
authored
[BOLT] Fix runtime/instrument-wrong-target.s test (#82858)
Test was failing when only X86 was specified for LLVM_TARGETS_TO_BUILD. Changed so that it will now report unsupporeted. For "X86;AArch64" it still passes. For "X86" reports UNSUPPORTED: BOLT :: runtime/instrument-wrong-target.s (1 of 1)
1 parent 15a7de6 commit 841a416

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bolt/test/runtime/instrument-wrong-target.s

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Test that BOLT errs when trying to instrument a binary with a different
22
# architecture than the one BOLT is built for.
33

4-
# REQUIRES: x86_64-linux,bolt-runtime,target=x86_64{{.*}}
4+
# REQUIRES: x86_64-linux,bolt-runtime
5+
# REQUIRES: target-x86_64 && aarch64-registered-target
56

67
# RUN: llvm-mc -triple aarch64 -filetype=obj %s -o %t.o
78
# RUN: ld.lld -q -pie -o %t.exe %t.o

0 commit comments

Comments
 (0)