[lld] r301415 - Use CHECK-NEXT in a test.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 08:05:10 PDT 2017
Author: rafael
Date: Wed Apr 26 10:05:10 2017
New Revision: 301415
URL: http://llvm.org/viewvc/llvm-project?rev=301415&view=rev
Log:
Use CHECK-NEXT in a test.
This will simplify a future patch.
Modified:
lld/trunk/test/ELF/linkerscript/sections.s
Modified: lld/trunk/test/ELF/linkerscript/sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/sections.s?rev=301415&r1=301414&r2=301415&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/sections.s (original)
+++ lld/trunk/test/ELF/linkerscript/sections.s Wed Apr 26 10:05:10 2017
@@ -85,13 +85,13 @@
# RUN: FileCheck -check-prefix=SEC-MULTI %s
# Idx Name Size
-# SEC-MULTI: 1 .text 0000000e {{[0-9a-f]*}} TEXT DATA
-# SEC-MULTI: 2 .data 00000023 {{[0-9a-f]*}} DATA
-# SEC-MULTI: 3 .bss 00000002 {{[0-9a-f]*}} BSS
-# SEC-MULTI: 4 .comment 00000008 {{[0-9a-f]*}}
-# SEC-MULTI: 5 .symtab 00000030 {{[0-9a-f]*}}
-# SEC-MULTI: 6 .shstrtab 00000035 {{[0-9a-f]*}}
-# SEC-MULTI: 7 .strtab 00000008 {{[0-9a-f]*}}
+# SEC-MULTI: 1 .text 0000000e {{[0-9a-f]*}} TEXT DATA
+# SEC-MULTI-NEXT: .data 00000023 {{[0-9a-f]*}} DATA
+# SEC-MULTI-NEXT: .bss 00000002 {{[0-9a-f]*}} BSS
+# SEC-MULTI-NEXT: .comment 00000008 {{[0-9a-f]*}}
+# SEC-MULTI-NEXT: .symtab 00000030 {{[0-9a-f]*}}
+# SEC-MULTI-NEXT: .shstrtab 00000035 {{[0-9a-f]*}}
+# SEC-MULTI-NEXT: .strtab 00000008 {{[0-9a-f]*}}
# Input section pattern contains additional semicolon.
# Case found in linux kernel script. Check we are able to parse it.
More information about the llvm-commits
mailing list