Skip to content

Commit 95dfe79

Browse files
authored
[MachO] Fix test failure. (llvm#167598)
Add requires to not run `invalid-section-index.s` test in non aarch64 supported environments.
1 parent ce17599 commit 95dfe79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/MC/MachO/invalid-section-index.s

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// REQUIRES: aarch64-registered-target
2+
13
/// Test that when there are more than 255 sections, error is shown specifying too many sections.
24

3-
// RUN: not llvm-mc -filetype=obj -triple arm64-apple-macos %s -o - 2>&1 | FileCheck %s --check-prefix=MACHOERROR
5+
// RUN: not llvm-mc -filetype=obj -triple arm64-apple-darwin %s -o - 2>&1 | FileCheck %s --check-prefix=MACHOERROR
46

57
// MACHOERROR: error: Too many sections!
68
// MACHOERROR-NEXT: error: Invalid section index!

0 commit comments

Comments
 (0)