It was matching at EOF regardless of whether the section was present.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240679
91177308-0d34-0410-b5e6-
96231b3b80d8
; Darwin and PS4 shouldn't be generating the section by default
; NOPUB: debug_pubnames
-; NOPUB: {{^$}}
+; NOPUB-NEXT: {{^$}}
; Skip the output to the header of the pubnames section.
; LINUX: debug_pubnames
-; LINUX: unit_size = 0x00000128
+; LINUX-NEXT: unit_size = 0x00000128
; Check for each name in the output.
; LINUX-DAG: "ns"