[lld] 830ead5 - [test] Fix unused check prefixes

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 13:44:38 PST 2021


Author: Fangrui Song
Date: 2021-02-08T13:44:30-08:00
New Revision: 830ead58fe07f0a8365aabf16b0a5f736e788e6c

URL: https://github.com/llvm/llvm-project/commit/830ead58fe07f0a8365aabf16b0a5f736e788e6c
DIFF: https://github.com/llvm/llvm-project/commit/830ead58fe07f0a8365aabf16b0a5f736e788e6c.diff

LOG: [test] Fix unused check prefixes

Added: 
    

Modified: 
    lld/test/ELF/aarch64-prel16.s
    lld/test/MachO/load-command-sequence.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/aarch64-prel16.s b/lld/test/ELF/aarch64-prel16.s
index a18f0798432b..757928359072 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 265316e0d162..734b7d1c6595 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


        


More information about the llvm-commits mailing list