aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-02-08 13:44:29 -0800
committerFangrui Song <i@maskray.me>2021-02-08 13:44:30 -0800
commit830ead58fe07f0a8365aabf16b0a5f736e788e6c (patch)
tree0bb2f288a7fb0db7e029aabd8eb5681a32a67935
parent87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61 (diff)
downloadllvm-830ead58fe07f0a8365aabf16b0a5f736e788e6c.zip
llvm-830ead58fe07f0a8365aabf16b0a5f736e788e6c.tar.gz
llvm-830ead58fe07f0a8365aabf16b0a5f736e788e6c.tar.bz2
[test] Fix unused check prefixes
-rw-r--r--lld/test/ELF/aarch64-prel16.s1
-rw-r--r--lld/test/MachO/load-command-sequence.s2
2 files changed, 2 insertions, 1 deletions
diff --git a/lld/test/ELF/aarch64-prel16.s b/lld/test/ELF/aarch64-prel16.s
index a18f0798..7579283 100644
--- a/lld/test/ELF/aarch64-prel16.s
+++ b/lld/test/ELF/aarch64-prel16.s
@@ -27,6 +27,7 @@ _start:
// 212a5a: S = 0x100, A = 0x1fa05a, P = 0x20215a
// S + A - P = 0x8000
// LE-NEXT: 202158 ffff0080
+// BE-NEXT: 202158 ffff8000
// RUN: not ld.lld -z max-page-size=4096 %t.o %t255.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=OVERFLOW1
// OVERFLOW1: relocation R_AARCH64_PREL16 out of range: -32769 is not in [-32768, 65535]; references foo
diff --git a/lld/test/MachO/load-command-sequence.s b/lld/test/MachO/load-command-sequence.s
index 265316e..734b7d1 100644
--- a/lld/test/MachO/load-command-sequence.s
+++ b/lld/test/MachO/load-command-sequence.s
@@ -11,7 +11,7 @@
# RUN: llvm-objdump --macho --all-headers %t/dylib | \
# RUN: FileCheck %s --check-prefixes=DYLIB,COMMON
# RUN: llvm-objdump --macho --all-headers %t/bundle | \
-# RUN: FileCheck %s --check-prefixes=BUNDLE,COMMON
+# RUN: FileCheck %s --check-prefix=COMMON
## Check that load commands and sections within segments occur in the proper
## sequence. On ARM64 kernel is especially picky about layout, and will