[lld] ca39168 - [LLD][ELF] change CHECK to CHECK-NEXT in overlay-phdr.test NFCI

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 11:08:31 PDT 2023


Author: Peter Smith
Date: 2023-05-15T19:08:16+01:00
New Revision: ca39168a7c1cb8299786d697baaafcda9cf23e60

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

LOG: [LLD][ELF] change CHECK to CHECK-NEXT in overlay-phdr.test NFCI

A code-review comment to change a couple of CHECK to CHECK-NEXT that I
forgot to apply prior to committing.

Differential Revision: https://reviews.llvm.org/D150445

Added: 
    

Modified: 
    lld/test/ELF/linkerscript/overlay-phdr.test

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/linkerscript/overlay-phdr.test b/lld/test/ELF/linkerscript/overlay-phdr.test
index baacc1ab3592a..be3910613b865 100644
--- a/lld/test/ELF/linkerscript/overlay-phdr.test
+++ b/lld/test/ELF/linkerscript/overlay-phdr.test
@@ -21,10 +21,10 @@ SECTIONS {
 # RUN: llvm-readelf --sections -l %t | FileCheck %s
 
 # CHECK: Section Headers:
-# CHECK: Name       Type     Address          Off    Size
-# CHECK: .out.big   PROGBITS 0000000000001000 001000 000008
-# CHECK: .out.small PROGBITS 0000000000001000 002000 000004
-# CHECK: .text      PROGBITS 0000000000001008 002008 000001
+# CHECK:      Name       Type     Address          Off    Size
+# CHECK:      .out.big   PROGBITS 0000000000001000 001000 000008
+# CHECK-NEXT: .out.small PROGBITS 0000000000001000 002000 000004
+# CHECK-NEXT: .text      PROGBITS 0000000000001008 002008 000001
 
 
 # CHECK:      Program Headers:


        


More information about the llvm-commits mailing list