From 40d406534ed30007876cc4f2e2fd00fc8723412e Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 26 Apr 2017 15:05:10 +0000 Subject: [PATCH] Use CHECK-NEXT in a test. This will simplify a future patch. llvm-svn: 301415 --- lld/test/ELF/linkerscript/sections.s | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lld/test/ELF/linkerscript/sections.s b/lld/test/ELF/linkerscript/sections.s index 1a2323c..b7d396f 100644 --- a/lld/test/ELF/linkerscript/sections.s +++ b/lld/test/ELF/linkerscript/sections.s @@ -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. -- 2.7.4