Skip to content

Commit 4a19f0c

Browse files
Prabhukgithub-actions[bot]
authored andcommitted
Automerge: [MachO] Fix test failure. (#167598)
Add requires to not run `invalid-section-index.s` test in non aarch64 supported environments.
2 parents 6d3029c + 95dfe79 commit 4a19f0c

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)