[lld] 93e2b59 - [ELF][test] Avoid non-portable |& in notest.s

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 12:32:37 PST 2022


Author: Fangrui Song
Date: 2022-02-18T12:32:27-08:00
New Revision: 93e2b59c076e266e78627ff7cf1dc9ed7d85550d

URL: https://github.com/llvm/llvm-project/commit/93e2b59c076e266e78627ff7cf1dc9ed7d85550d
DIFF: https://github.com/llvm/llvm-project/commit/93e2b59c076e266e78627ff7cf1dc9ed7d85550d.diff

LOG: [ELF][test] Avoid non-portable |& in notest.s

Added: 
    

Modified: 
    lld/test/ELF/linkerscript/noload.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/linkerscript/noload.s b/lld/test/ELF/linkerscript/noload.s
index 1cc09670e8b1..fbee54b9e5b4 100644
--- a/lld/test/ELF/linkerscript/noload.s
+++ b/lld/test/ELF/linkerscript/noload.s
@@ -19,7 +19,7 @@
 
 ## The output SHT_PROBITS is contrary to the user expectation of SHT_NOBITS.
 ## Issue a warning. See https://github.com/ClangBuiltLinux/linux/issues/1597
-# RUN: ld.lld --script %t/lds %t.o %t/mismatch.o -o %t/out 2>&1 |& FileCheck %s --check-prefix=WARN
+# RUN: ld.lld --script %t/lds %t.o %t/mismatch.o -o %t/out 2>&1 | FileCheck %s --check-prefix=WARN
 # RUN: llvm-readelf -S -l %t/out | FileCheck %s --check-prefix=CHECK2
 
 # WARN:   warning: section type mismatch for .data_noload_a


        


More information about the llvm-commits mailing list