[lld] r359668 - [llvm-objdump] Print newlines before and after "Disassembly of section ...:"

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 03:40:48 PDT 2019


Author: maskray
Date: Wed May  1 03:40:48 2019
New Revision: 359668

URL: http://llvm.org/viewvc/llvm-project?rev=359668&view=rev
Log:
[llvm-objdump] Print newlines before and after "Disassembly of section ...:"

This improves readability and the behavior is consistent with GNU objdump.

The new test test/tools/llvm-objdump/X86/disassemble-section-name.s
checks we print newlines before and after "Disassembly of section ...:"

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

Modified:
    lld/trunk/test/COFF/arm64-import2.test
    lld/trunk/test/COFF/arm64-relocs-imports.test
    lld/trunk/test/COFF/armnt-blx23t.test
    lld/trunk/test/COFF/armnt-branch24t.test
    lld/trunk/test/COFF/armnt-mov32t-exec.test
    lld/trunk/test/COFF/armnt-movt32t.test
    lld/trunk/test/COFF/autoimport-refptr.s
    lld/trunk/test/COFF/autoimport-x86.s
    lld/trunk/test/COFF/imports.test
    lld/trunk/test/COFF/lto-comdat.ll
    lld/trunk/test/COFF/lto.ll
    lld/trunk/test/ELF/aarch64-call26-thunk.s
    lld/trunk/test/ELF/aarch64-condb-reloc.s
    lld/trunk/test/ELF/aarch64-copy.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc-address-pie.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc-address.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc-plt.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc2.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc3.s
    lld/trunk/test/ELF/aarch64-jump26-thunk.s
    lld/trunk/test/ELF/aarch64-relocs.s
    lld/trunk/test/ELF/aarch64-thunk-pi.s
    lld/trunk/test/ELF/aarch64-thunk-script.s
    lld/trunk/test/ELF/aarch64-tls-gdle.s
    lld/trunk/test/ELF/aarch64-tls-iele.s
    lld/trunk/test/ELF/aarch64-tstbr14-reloc.s
    lld/trunk/test/ELF/aarch64-undefined-weak.s
    lld/trunk/test/ELF/arm-bl-v6-inrange.s
    lld/trunk/test/ELF/arm-bl-v6.s
    lld/trunk/test/ELF/arm-blx.s
    lld/trunk/test/ELF/arm-branch-rangethunk.s
    lld/trunk/test/ELF/arm-branch-undef-weak-plt-thunk.s
    lld/trunk/test/ELF/arm-branch.s
    lld/trunk/test/ELF/arm-copy.s
    lld/trunk/test/ELF/arm-data-relocs.s
    lld/trunk/test/ELF/arm-exidx-canunwind.s
    lld/trunk/test/ELF/arm-exidx-gc.s
    lld/trunk/test/ELF/arm-exidx-order.s
    lld/trunk/test/ELF/arm-extreme-range-pi-thunk.s
    lld/trunk/test/ELF/arm-force-pi-thunk.s
    lld/trunk/test/ELF/arm-fpic-got.s
    lld/trunk/test/ELF/arm-gnu-ifunc-plt.s
    lld/trunk/test/ELF/arm-gnu-ifunc.s
    lld/trunk/test/ELF/arm-got-relative.s
    lld/trunk/test/ELF/arm-gotoff.s
    lld/trunk/test/ELF/arm-icf-exidx.s
    lld/trunk/test/ELF/arm-mov-relocs.s
    lld/trunk/test/ELF/arm-plt-reloc.s
    lld/trunk/test/ELF/arm-sbrel32.s
    lld/trunk/test/ELF/arm-target1.s
    lld/trunk/test/ELF/arm-thumb-blx.s
    lld/trunk/test/ELF/arm-thumb-branch-rangethunk.s
    lld/trunk/test/ELF/arm-thumb-branch.s
    lld/trunk/test/ELF/arm-thumb-condbranch-thunk.s
    lld/trunk/test/ELF/arm-thumb-interwork-shared.s
    lld/trunk/test/ELF/arm-thumb-interwork-thunk.s
    lld/trunk/test/ELF/arm-thumb-narrow-branch-check.s
    lld/trunk/test/ELF/arm-thumb-no-undefined-thunk.s
    lld/trunk/test/ELF/arm-thumb-plt-range-thunk-os.s
    lld/trunk/test/ELF/arm-thumb-plt-reloc.s
    lld/trunk/test/ELF/arm-thumb-range-thunk-os.s
    lld/trunk/test/ELF/arm-thumb-thunk-empty-pass.s
    lld/trunk/test/ELF/arm-thumb-thunk-v6m.s
    lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test
    lld/trunk/test/ELF/arm-thumb-undefined-weak.s
    lld/trunk/test/ELF/arm-thunk-largesection.s
    lld/trunk/test/ELF/arm-thunk-linkerscript-dotexpr.s
    lld/trunk/test/ELF/arm-thunk-linkerscript-large.s
    lld/trunk/test/ELF/arm-thunk-linkerscript-orphan.s
    lld/trunk/test/ELF/arm-thunk-linkerscript.s
    lld/trunk/test/ELF/arm-thunk-multipass-plt.s
    lld/trunk/test/ELF/arm-thunk-re-add.s
    lld/trunk/test/ELF/arm-tls-gd32.s
    lld/trunk/test/ELF/arm-tls-ie32.s
    lld/trunk/test/ELF/arm-tls-ldm32.s
    lld/trunk/test/ELF/arm-tls-le32.s
    lld/trunk/test/ELF/arm-undefined-weak.s
    lld/trunk/test/ELF/comdat.s
    lld/trunk/test/ELF/copy-rel-pie.s
    lld/trunk/test/ELF/defsym.s
    lld/trunk/test/ELF/eh-frame-hdr.s
    lld/trunk/test/ELF/ehframe-relocation.s
    lld/trunk/test/ELF/gdb-index.s
    lld/trunk/test/ELF/gnu-ifunc-i386.s
    lld/trunk/test/ELF/gnu-ifunc-plt-i386.s
    lld/trunk/test/ELF/gnu-ifunc-plt.s
    lld/trunk/test/ELF/gnu-ifunc-shared.s
    lld/trunk/test/ELF/gnu-ifunc.s
    lld/trunk/test/ELF/got-i386.s
    lld/trunk/test/ELF/gotpc-relax-nopic.s
    lld/trunk/test/ELF/gotpc-relax-und-dso.s
    lld/trunk/test/ELF/gotpc-relax.s
    lld/trunk/test/ELF/i386-gotpc.s
    lld/trunk/test/ELF/i386-reloc-large-addend.s
    lld/trunk/test/ELF/i386-reloc-range.s
    lld/trunk/test/ELF/i386-retpoline-nopic-linkerscript.s
    lld/trunk/test/ELF/i386-retpoline-nopic.s
    lld/trunk/test/ELF/i386-retpoline-pic-linkerscript.s
    lld/trunk/test/ELF/i386-retpoline-pic.s
    lld/trunk/test/ELF/i386-tls-ie-shared.s
    lld/trunk/test/ELF/linkerscript/excludefile.s
    lld/trunk/test/ELF/linkerscript/non-absolute.s
    lld/trunk/test/ELF/local-got-pie.s
    lld/trunk/test/ELF/merge.s
    lld/trunk/test/ELF/mips-26-mask.s
    lld/trunk/test/ELF/mips-26-n32-n64.s
    lld/trunk/test/ELF/mips-26.s
    lld/trunk/test/ELF/mips-64-gprel-so.s
    lld/trunk/test/ELF/mips-call-hilo.s
    lld/trunk/test/ELF/mips-call16.s
    lld/trunk/test/ELF/mips-got-hilo.s
    lld/trunk/test/ELF/mips-got16-relocatable.s
    lld/trunk/test/ELF/mips-got16.s
    lld/trunk/test/ELF/mips-gp-disp.s
    lld/trunk/test/ELF/mips-gp-local.s
    lld/trunk/test/ELF/mips-hilo-gp-disp.s
    lld/trunk/test/ELF/mips-hilo-hi-only.s
    lld/trunk/test/ELF/mips-hilo.s
    lld/trunk/test/ELF/mips-micro-jal.s
    lld/trunk/test/ELF/mips-n32-rels.s
    lld/trunk/test/ELF/mips-npic-call-pic-os.s
    lld/trunk/test/ELF/mips-npic-call-pic-script.s
    lld/trunk/test/ELF/mips-npic-call-pic.s
    lld/trunk/test/ELF/mips-pc-relocs.s
    lld/trunk/test/ELF/mips-plt-n32.s
    lld/trunk/test/ELF/mips-plt-r6.s
    lld/trunk/test/ELF/mips-xgot-order.s
    lld/trunk/test/ELF/msp430.s
    lld/trunk/test/ELF/no-inhibit-exec.s
    lld/trunk/test/ELF/non-abs-reloc.s
    lld/trunk/test/ELF/non-alloc-link-order-gc.s
    lld/trunk/test/ELF/plt-aarch64.s
    lld/trunk/test/ELF/plt-i686.s
    lld/trunk/test/ELF/plt.s
    lld/trunk/test/ELF/ppc-relocs.s
    lld/trunk/test/ELF/ppc64-got-indirect.s
    lld/trunk/test/ELF/ppc64-plt-stub.s
    lld/trunk/test/ELF/ppc64-rel-calls.s
    lld/trunk/test/ELF/ppc64-relocs.s
    lld/trunk/test/ELF/ppc64-toc-restore.s
    lld/trunk/test/ELF/ppc64-weak-undef-call.s
    lld/trunk/test/ELF/pr34660.s
    lld/trunk/test/ELF/pre_init_fini_array_missing.s
    lld/trunk/test/ELF/relocatable-symbols.s
    lld/trunk/test/ELF/relocatable.s
    lld/trunk/test/ELF/relocation-b-aarch64.test
    lld/trunk/test/ELF/relocation-copy-i686.s
    lld/trunk/test/ELF/relocation-copy.s
    lld/trunk/test/ELF/relocation-i686.s
    lld/trunk/test/ELF/relocation-local.s
    lld/trunk/test/ELF/relocation-size-shared.s
    lld/trunk/test/ELF/relocation-size.s
    lld/trunk/test/ELF/relocation.s
    lld/trunk/test/ELF/startstop-gccollect.s
    lld/trunk/test/ELF/startstop.s
    lld/trunk/test/ELF/tls-dynamic-i686.s
    lld/trunk/test/ELF/tls-dynamic.s
    lld/trunk/test/ELF/tls-got.s
    lld/trunk/test/ELF/tls-i686.s
    lld/trunk/test/ELF/tls-initial-exec-local.s
    lld/trunk/test/ELF/tls-opt-gdie.s
    lld/trunk/test/ELF/tls-opt-gdiele-i686.s
    lld/trunk/test/ELF/tls-opt-i686.s
    lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s
    lld/trunk/test/ELF/tls-opt-local.s
    lld/trunk/test/ELF/tls.s
    lld/trunk/test/ELF/x86-64-retpoline-linkerscript.s
    lld/trunk/test/ELF/x86-64-retpoline-znow-linkerscript.s
    lld/trunk/test/ELF/x86-64-retpoline-znow.s
    lld/trunk/test/ELF/x86-64-retpoline.s

Modified: lld/trunk/test/COFF/arm64-import2.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/arm64-import2.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/arm64-import2.test (original)
+++ lld/trunk/test/COFF/arm64-import2.test Wed May  1 03:40:48 2019
@@ -7,11 +7,13 @@
 # RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s -check-prefix IMPORTS
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0:       00 00 00 94     bl      #0
 # BEFORE:        4:       00 00 00 94     bl      #0
 # BEFORE:        8:       c0 03 5f d6     ret
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER:  140001000:      03 00 00 94     bl      #12
 # AFTER:  140001004:      05 00 00 94     bl      #20
 # AFTER:  140001008:      c0 03 5f d6     ret

Modified: lld/trunk/test/COFF/arm64-relocs-imports.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/arm64-relocs-imports.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/arm64-relocs-imports.test (original)
+++ lld/trunk/test/COFF/arm64-relocs-imports.test Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0:       fe 0f 1f f8     str     x30, [sp, #-16]!
 # BEFORE:        4:       00 00 00 90     adrp    x0, #0
 # BEFORE:        8:       00 08 00 91     add     x0, x0, #2
@@ -48,6 +49,7 @@
 # BEFORE:       9c:       01 00 00 00     udf #1
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER:  140001000:      fe 0f 1f f8     str     x30, [sp, #-16]!
 # AFTER:  140001004:      00 00 00 b0     adrp    x0, #4096
 # AFTER:  140001008:      00 18 00 91     add     x0, x0, #6

Modified: lld/trunk/test/COFF/armnt-blx23t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-blx23t.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-blx23t.test (original)
+++ lld/trunk/test/COFF/armnt-blx23t.test Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0: 70 47         bx lr
 # BEFORE:        2: 00 bf         nop
 # BEFORE:        4: 2d e9 00 48   push.w {r11, lr}
@@ -16,6 +17,7 @@
 # BEFORE:       12: bd e8 00 88   pop.w {r11, pc}
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER:     1000: 70 47         bx lr
 # AFTER:     1002: 00 bf         nop
 # AFTER:     1004: 2d e9 00 48   push.w {r11, lr}

Modified: lld/trunk/test/COFF/armnt-branch24t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-branch24t.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-branch24t.test (original)
+++ lld/trunk/test/COFF/armnt-branch24t.test Wed May  1 03:40:48 2019
@@ -6,12 +6,14 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0: 70 47         bx lr
 # BEFORE:        2: 00 bf         nop
 # BEFORE:        4: 20 20         movs r0, #32
 # BEFORE:        6: 00 f0 00 b8   b.w #0
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER: .text:
 # AFTER:     1000: 70 47         bx lr
 # AFTER:     1002: 00 bf         nop

Modified: lld/trunk/test/COFF/armnt-mov32t-exec.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-mov32t-exec.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-mov32t-exec.test (original)
+++ lld/trunk/test/COFF/armnt-mov32t-exec.test Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0: 70 47         bx lr
 # BEFORE:        2: 00 bf         nop
 # BEFORE:        4: 40 f2 00 00   movw r0, #0
@@ -13,6 +14,7 @@
 # BEFORE:        c: 70 47         bx lr
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER:     1000: 70 47         bx lr
 # AFTER:     1002: 00 bf         nop
 # AFTER:     1004: 41 f2 01 00   movw r0, #4097

Modified: lld/trunk/test/COFF/armnt-movt32t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/armnt-movt32t.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/armnt-movt32t.test (original)
+++ lld/trunk/test/COFF/armnt-movt32t.test Wed May  1 03:40:48 2019
@@ -6,11 +6,13 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
 
 # BEFORE: Disassembly of section .text:
+# BEFORE-EMPTY:
 # BEFORE:        0: 40 f2 00 00   movw r0, #0
 # BEFORE:        4: c0 f2 00 00   movt r0, #0
 # BEFORE:        8: 70 47         bx lr
 
 # AFTER: Disassembly of section .text:
+# AFTER-EMPTY:
 # AFTER:        0: 42 f2 00 00   movw r0, #8192
 # AFTER:        4: c0 f2 40 00   movt r0, #64
 # AFTER:        8: 70 47         bx lr

Modified: lld/trunk/test/COFF/autoimport-refptr.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/autoimport-refptr.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/autoimport-refptr.s (original)
+++ lld/trunk/test/COFF/autoimport-refptr.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@
 # IMPORTS-NEXT: }
 
 # DISASM: Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM: .text:
 # Relative offset at 0x1002 pointing at the IAT at 0x2060
 # DISASM: 140001000:      48 8b 05 59 10 00 00    movq    4185(%rip), %rax

Modified: lld/trunk/test/COFF/autoimport-x86.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/autoimport-x86.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/autoimport-x86.s (original)
+++ lld/trunk/test/COFF/autoimport-x86.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@
 # IMPORTS-NEXT: }
 
 # DISASM: Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM: .text:
 # Relative offset at 0x1002 pointing at the IAT at 0x2080.
 # DISASM: 140001000:      8b 05 7a 10 00 00       movl    4218(%rip), %eax

Modified: lld/trunk/test/COFF/imports.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/imports.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/imports.test (original)
+++ lld/trunk/test/COFF/imports.test Wed May  1 03:40:48 2019
@@ -12,6 +12,7 @@
 # RUN: llvm-readobj --coff-imports %t.exe | FileCheck -check-prefix=IMPORT %s
 
 TEXT: Disassembly of section .text:
+TEXT-EMPTY:
 TEXT-NEXT: .text:
 TEXT-NEXT: subq    $40, %rsp
 TEXT-NEXT: movq    $0, %rcx

Modified: lld/trunk/test/COFF/lto-comdat.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/lto-comdat.ll?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/lto-comdat.ll (original)
+++ lld/trunk/test/COFF/lto-comdat.ll Wed May  1 03:40:48 2019
@@ -42,12 +42,14 @@
 
 ; HEADERS-11: AddressOfEntryPoint: 0x1000
 ; TEXT-11: Disassembly of section .text:
+; TEXT-11-EMPTY:
 ; TEXT-11-NEXT: .text:
 ; TEXT-11-NEXT: xorl	%eax, %eax
 ; TEXT-11-NEXT: retq
 
 ; HEADERS-01: AddressOfEntryPoint: 0x1000
 ; TEXT-01: Disassembly of section .text:
+; TEXT-01-EMPTY:
 ; TEXT-01-NEXT: .text:
 ; TEXT-01-NEXT: subq	$40, %rsp
 ; TEXT-01-NEXT: callq	23
@@ -65,6 +67,7 @@
 
 ; HEADERS-10: AddressOfEntryPoint: 0x1020
 ; TEXT-10: Disassembly of section .text:
+; TEXT-10-EMPTY:
 ; TEXT-10-NEXT: .text:
 ; TEXT-10-NEXT: subq	$40, %rsp
 ; TEXT-10-NEXT: callq	55

Modified: lld/trunk/test/COFF/lto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/lto.ll?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/COFF/lto.ll (original)
+++ lld/trunk/test/COFF/lto.ll Wed May  1 03:40:48 2019
@@ -34,6 +34,7 @@
 
 ; HEADERS-11: AddressOfEntryPoint: 0x1000
 ; TEXT-11: Disassembly of section .text:
+; TEXT-11-EMPTY:
 ; TEXT-11-NEXT: .text:
 ; TEXT-11-NEXT: xorl	%eax, %eax
 ; TEXT-11-NEXT: retq
@@ -55,6 +56,7 @@
 
 ; HEADERS-01: AddressOfEntryPoint: 0x1000
 ; TEXT-01: Disassembly of section .text:
+; TEXT-01-EMPTY:
 ; TEXT-01-NEXT: .text:
 ; TEXT-01-NEXT: subq	$40, %rsp
 ; TEXT-01-NEXT: callq	23
@@ -81,6 +83,7 @@
 
 ; HEADERS-10: AddressOfEntryPoint: 0x1020
 ; TEXT-10: Disassembly of section .text:
+; TEXT-10-EMPTY:
 ; TEXT-10-NEXT: .text:
 ; TEXT-10-NEXT: retq
 ; TEXT-10-NEXT: nop

Modified: lld/trunk/test/ELF/aarch64-call26-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-call26-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-call26-thunk.s (original)
+++ lld/trunk/test/ELF/aarch64-call26-thunk.s Wed May  1 03:40:48 2019
@@ -10,6 +10,7 @@ _start:
     bl big
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    210000:        02 00 00 94     bl      #8
 // CHECK: __AArch64AbsLongThunk_big:

Modified: lld/trunk/test/ELF/aarch64-condb-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-condb-reloc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-condb-reloc.s (original)
+++ lld/trunk/test/ELF/aarch64-condb-reloc.s Wed May  1 03:40:48 2019
@@ -11,6 +11,7 @@
 # 0x11028 - 24 = 0x11010
 # 0x1102c - 16 = 0x1101c
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: _foo:
 # CHECK-NEXT:    210000: {{.*}} nop
 # CHECK-NEXT:    210004: {{.*}} nop
@@ -53,6 +54,7 @@
 #DSOREL-NEXT:]
 
 #DSO:      Disassembly of section .text:
+#DSO-EMPTY:
 #DSO-NEXT: _foo:
 #DSO-NEXT:     10000: {{.*}} nop
 #DSO-NEXT:     10004: {{.*}} nop
@@ -69,7 +71,9 @@
 #DSO-NEXT:     10024: {{.*}} b.eq #44
 #DSO-NEXT:     10028: {{.*}} b.eq #56
 #DSO-NEXT:     1002c: {{.*}} b.eq #68
+#DSO-EMPTY:
 #DSO-NEXT: Disassembly of section .plt:
+#DSO-EMPTY:
 #DSO-NEXT: .plt:
 #DSO-NEXT:     10030: {{.*}} stp x16, x30, [sp, #-16]!
 #DSO-NEXT:     10034: {{.*}} adrp x16, #131072

Modified: lld/trunk/test/ELF/aarch64-copy.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-copy.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-copy.s (original)
+++ lld/trunk/test/ELF/aarch64-copy.s Wed May  1 03:40:48 2019
@@ -77,6 +77,7 @@ _start:
 // CHECK: ]
 
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: _start:
 // S(x) = 0x230000, A = 0, P = 0x210000
 // S + A - P = 0x20000 = 131072

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc-address-pie.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc-address-pie.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc-address-pie.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc-address-pie.s Wed May  1 03:40:48 2019
@@ -33,7 +33,9 @@ main:
 # CHECK-NEXT:    10008:	08 41 00 91 	add	x8, x8, #16
 # x8 = 0x10010 = .plt for myfunc
 # CHECK-NEXT:    1000c:	c0 03 5f d6 	ret
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: 0000000000010010 myfunc:
 # CHECK-NEXT:    10010:	10 01 00 90 	adrp	x16, #131072
 # CHECK-NEXT:    10014:	11 02 40 f9 	ldr	x17, [x16]

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc-address.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc-address.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc-address.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc-address.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@ main:
 # CHECK-NEXT:    1000c: c0 03 5f d6     ret
 
 # CHECK: Disassembly of section .got:
+# CHECK-EMPTY:
 # CHECK-NEXT: 00000000000200a0 .got:
 
 # CHECK-RELOCS: Relocations [

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc-plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc-plt.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc-plt.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc-plt.s Wed May  1 03:40:48 2019
@@ -30,6 +30,7 @@
 
 // Check that a PLT header is written and the ifunc entries appear last
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:    210000: {{.*}} ret
 // DISASM:      bar:
@@ -39,7 +40,9 @@
 // DISASM-NEXT:    21000c: {{.*}} bl      #100
 // DISASM-NEXT:    210010: {{.*}} bl      #48
 // DISASM-NEXT:    210014: {{.*}} bl      #60
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:    210020: {{.*}} stp     x16, x30, [sp, #-16]!
 // DISASM-NEXT:    210024: {{.*}} adrp    x16, #131072

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc.s Wed May  1 03:40:48 2019
@@ -100,6 +100,7 @@
 // 392 = 0x188
 
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:  210000: c0 03 5f d6 ret
 // DISASM: bar:
@@ -109,7 +110,9 @@
 // DISASM-NEXT:  21000c: 09 00 00 94     bl      #36
 // DISASM-NEXT:  210010: 42 60 05 91     add     x2, x2, #344
 // DISASM-NEXT:  210014: 42 20 06 91     add     x2, x2, #392
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:  210020: 90 00 00 90 adrp x16, #65536
 // DISASM-NEXT:  210024: 11 02 40 f9 ldr x17, [x16]

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc2.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc2.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc2.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc2.s Wed May  1 03:40:48 2019
@@ -5,6 +5,7 @@
 # RUN: llvm-readobj -r %tout | FileCheck %s --check-prefix=RELOC
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: myfunc:
 # CHECK-NEXT:   210000:
 
@@ -15,6 +16,7 @@
 # CHECK-NEXT:   21000c: {{.*}} ret
 
 # CHECK:      Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .plt:
 # adrp x16, 0x220000, 0x220000 == address in .got.plt
 # CHECK-NEXT:   210010: {{.*}} adrp    x16, #65536
@@ -23,6 +25,7 @@
 # CHECK-NEXT:   21001c: {{.*}} br      x17
 
 # CHECK:      Disassembly of section .got.plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .got.plt:
 # CHECK-NEXT:   220000:
 

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc3.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc3.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc3.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc3.s Wed May  1 03:40:48 2019
@@ -25,6 +25,7 @@ _start:
  ret
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: myfunc_resolver:
 # CHECK-NEXT:   210000:	c0 03 5f d6 	ret
 # CHECK: _start:
@@ -32,14 +33,18 @@ _start:
 # CHECK-NEXT:   210004:	08 00 00 90 	adrp	x8, #0
 # CHECK-NEXT:   210008:	08 41 00 91 	add	x8, x8, #16
 # CHECK-NEXT:   21000c:	c0 03 5f d6 	ret
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: myfunc:
 # adrp x16, 0x220000, 0x220000 == address in .got.plt
 # CHECK-NEXT:   210010:	90 00 00 90 	adrp	x16, #65536
 # CHECK-NEXT:   210014:	11 02 40 f9 	ldr	x17, [x16]
 # CHECK-NEXT:   210018:	10 02 00 91 	add	x16, x16, #0
 # CHECK-NEXT:   21001c:	20 02 1f d6 	br	x17
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .got.plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .got.plt:
 # 0x210010 == address in .plt
 # CHECK-NEXT:   220000:	10 00 21 00

Modified: lld/trunk/test/ELF/aarch64-jump26-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-jump26-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-jump26-thunk.s (original)
+++ lld/trunk/test/ELF/aarch64-jump26-thunk.s Wed May  1 03:40:48 2019
@@ -10,6 +10,7 @@ _start:
     b big
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    210000:        02 00 00 14     b       #8
 // CHECK: __AArch64AbsLongThunk_big:

Modified: lld/trunk/test/ELF/aarch64-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-relocs.s (original)
+++ lld/trunk/test/ELF/aarch64-relocs.s Wed May  1 03:40:48 2019
@@ -12,6 +12,7 @@ msg:  .asciz  "Hello, world\n"
 msgend:
 
 # CHECK: Disassembly of section .R_AARCH64_ADR_PREL_LO21:
+# CHECK-EMPTY:
 # CHECK: _start:
 # CHECK:        0:       21 00 00 10     adr     x1, #4
 # CHECK: msg:
@@ -29,6 +30,7 @@ mystr:
 # PAGE(P) = 0x210000
 #
 # CHECK: Disassembly of section .R_AARCH64_ADR_PREL_PG_H121:
+# CHECK-EMPTY:
 # CHECK-NEXT: $x.2:
 # CHECK-NEXT:   210012:       01 00 00 90     adrp    x1, #0
 
@@ -43,6 +45,7 @@ mystr:
 # R << 10 = 0x7c00
 #
 # CHECK: Disassembly of section .R_AARCH64_ADD_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK-NEXT: $x.4:
 # CHECK-NEXT:   21001b:       00 7c 00 91     add     x0, x0, #31
 
@@ -56,6 +59,7 @@ foo:
 # R = ((S + A) & 0xFFF) << 7 = 0x00001400
 # 0x00001400 | 0xf940177c = 0xf940177c
 # CHECK: Disassembly of section .R_AARCH64_LDST64_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK-NEXT: $x.6:
 # CHECK-NEXT:   210024:       7c 17 40 f9     ldr     x28, [x27, #40]
 
@@ -65,6 +69,7 @@ sub:
   nop
 
 # CHECK: Disassembly of section .SUB:
+# CHECK-EMPTY:
 # CHECK-NEXT: $x.8:
 # CHECK-NEXT:   21002c:       1f 20 03 d5     nop
 # CHECK: sub:
@@ -79,6 +84,7 @@ call26:
 # (R & 0x0ffffffc) >> 2 = 0x03ffffff
 # 0x94000000 | 0x03ffffff = 0x97ffffff
 # CHECK: Disassembly of section .R_AARCH64_CALL26:
+# CHECK-EMPTY:
 # CHECK-NEXT: call26:
 # CHECK-NEXT:   210034:       ff ff ff 97     bl     #-4
 
@@ -91,6 +97,7 @@ jump26:
 # (R & 0x0ffffffc) >> 2 = 0x03fffffe
 # 0x14000000 | 0x03fffffe = 0x17fffffe
 # CHECK: Disassembly of section .R_AARCH64_JUMP26:
+# CHECK-EMPTY:
 # CHECK-NEXT: jump26:
 # CHECK-NEXT:   210038:       fe ff ff 17     b      #-8
 
@@ -105,6 +112,7 @@ foo32:
 # R = ((S + A) & 0xFFC) << 8 = 0x00004000
 # 0x00004000 | 0xbd4000a4 = 0xbd4040a4
 # CHECK: Disassembly of section .R_AARCH64_LDST32_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK-NEXT: ldst32:
 # CHECK-NEXT:   21003c:       a4 40 40 bd     ldr s4, [x5, #64]
 
@@ -119,6 +127,7 @@ foo8:
 # R = ((S + A) & 0xFFF) << 10 = 0x00012000
 # 0x00012000 | 0x398001ab = 0x398121ab
 # CHECK: Disassembly of section .R_AARCH64_LDST8_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK-NEXT: ldst8:
 # CHECK-NEXT:   210044:       ab 21 81 39     ldrsb x11, [x13, #72]
 
@@ -133,6 +142,7 @@ foo128:
 # R = ((S + A) & 0xFF8) << 6 = 0x00001400
 # 0x00001400 | 0x3dc00274 = 0x3dc01674
 # CHECK: Disassembly of section .R_AARCH64_LDST128_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK: ldst128:
 # CHECK:   21004c:       74 16 c0 3d     ldr     q20, [x19, #80]
 #foo128:
@@ -151,6 +161,7 @@ foo16:
 # R = ((S + A) & 0x0FFC) << 9 = 0xb000
 # 0xb000 | 0x7d400271 = 0x7d40b271
 # CHECK: Disassembly of section .R_AARCH64_LDST16_ABS_LO12_NC:
+# CHECK-EMPTY:
 # CHECK-NEXT: ldst16:
 # CHECK-NEXT:   210054:       71 c2 40 7d     ldr     h17, [x19, #96]
 # CHECK-NEXT:   210058:       61 c2 40 79     ldrh    w1, [x19, #96]
@@ -166,6 +177,7 @@ movz1:
 
 ## 4222124650659840 == (0xF << 48)
 # CHECK: Disassembly of section .R_AARCH64_MOVW_UABS:
+# CHECK-EMPTY:
 # CHECK-NEXT: movz1:
 # CHECK-NEXT: 8c 01 80 f2   movk  x12, #12
 # CHECK-NEXT: ad 01 a0 f2   movk  x13, #13, lsl #16

Modified: lld/trunk/test/ELF/aarch64-thunk-pi.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-thunk-pi.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-thunk-pi.s (original)
+++ lld/trunk/test/ELF/aarch64-thunk-pi.s Wed May  1 03:40:48 2019
@@ -72,6 +72,7 @@ high_target2:
 // CHECK-NEXT: 10000018:	00 02 1f d6 	br	x16
 
 // CHECK: Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 10000020:       f0 7b bf a9     stp     x16, x30, [sp, #-16]!
 // CHECK-NEXT: 10000024:       10 00 00 90     adrp    x16, #0

Modified: lld/trunk/test/ELF/aarch64-thunk-script.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-thunk-script.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-thunk-script.s (original)
+++ lld/trunk/test/ELF/aarch64-thunk-script.s Wed May  1 03:40:48 2019
@@ -26,6 +26,7 @@ high_target:
  ret
 
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:     2000:       02 00 00 94     bl      #8
 // CHECK-NEXT:     2004:       c0 03 5f d6     ret
@@ -36,6 +37,7 @@ high_target:
 // CHECK-NEXT:     2010:       00 20 00 08     .word   0x08002000
 // CHECK-NEXT:     2014:       00 00 00 00     .word   0x00000000
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: high_target:
 // CHECK-NEXT:  8002000:       00 00 00 96     bl      #-134217728
 // CHECK-NEXT:  8002004:       c0 03 5f d6     ret

Modified: lld/trunk/test/ELF/aarch64-tls-gdle.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-tls-gdle.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-tls-gdle.s (original)
+++ lld/trunk/test/ELF/aarch64-tls-gdle.s Wed May  1 03:40:48 2019
@@ -11,6 +11,7 @@
 
 # TCB size = 64 and foo is first element from TLS register.
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK: _start:
 # CHECK:  210000:	00 00 a0 d2	movz	x0, #0, lsl #16
 # CHECK:  210004:	00 08 80 f2 	movk	x0, #64

Modified: lld/trunk/test/ELF/aarch64-tls-iele.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-tls-iele.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-tls-iele.s (original)
+++ lld/trunk/test/ELF/aarch64-tls-iele.s Wed May  1 03:40:48 2019
@@ -11,6 +11,7 @@
 
 # TCB size = 64 and foo is first element from TLS register.
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK: _start:
 # CHECK-NEXT: 210000:  00 00 a0 d2   movz   x0, #0, lsl #16
 # CHECK-NEXT: 210004:  80 08 80 f2   movk   x0, #68

Modified: lld/trunk/test/ELF/aarch64-tstbr14-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-tstbr14-reloc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-tstbr14-reloc.s (original)
+++ lld/trunk/test/ELF/aarch64-tstbr14-reloc.s Wed May  1 03:40:48 2019
@@ -12,6 +12,7 @@
 # 0x11024 - 36 = 0x20000
 # 0x11028 - 24 = 0x20010
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: _foo:
 # CHECK-NEXT:  210000: {{.*}} nop
 # CHECK-NEXT:  210004: {{.*}} nop
@@ -51,6 +52,7 @@
 #DSOREL-NEXT:]
 
 #DSO:      Disassembly of section .text:
+#DSO-EMPTY:
 #DSO-NEXT: _foo:
 #DSO-NEXT:  10000: {{.*}} nop
 #DSO-NEXT:  10004: {{.*}} nop
@@ -69,7 +71,9 @@
 #DSO-NEXT:  10020: {{.*}} tbnz w3, #15, #64
 #DSO-NEXT:  10024: {{.*}} tbz x6, #45, #44
 #DSO-NEXT:  10028: {{.*}} tbz x6, #45, #56
+#DSO-EMPTY:
 #DSO-NEXT: Disassembly of section .plt:
+#DSO-EMPTY:
 #DSO-NEXT: .plt:
 #DSO-NEXT:  10030: {{.*}} stp x16, x30, [sp, #-16]!
 #DSO-NEXT:  10034: {{.*}} adrp x16, #131072

Modified: lld/trunk/test/ELF/aarch64-undefined-weak.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-undefined-weak.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-undefined-weak.s (original)
+++ lld/trunk/test/ELF/aarch64-undefined-weak.s Wed May  1 03:40:48 2019
@@ -34,6 +34,7 @@ _start:
  ldr x8, target
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // 2162688 = 0x210000
 // CHECK:         210000: {{.*}} b       #4
 // CHECK-NEXT:    210004: {{.*}} bl      #4

Modified: lld/trunk/test/ELF/arm-bl-v6-inrange.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-bl-v6-inrange.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-bl-v6-inrange.s (original)
+++ lld/trunk/test/ELF/arm-bl-v6-inrange.s Wed May  1 03:40:48 2019
@@ -28,9 +28,12 @@ _start:
 thumbfunc:
   bx lr
 // CHECK-THUMB: Disassembly of section .callee1:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: thumbfunc:
 // CHECK-THUMB-NEXT:   100004:       70 47   bx      lr
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: Disassembly of section .caller:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: _start:
 // CHECK-THUMB-NEXT:   500000:       00 f4 00 f8     bl      #-4194304
 // CHECK-THUMB-NEXT:   500004:       ff f3 fe ef     blx     #4194300
@@ -43,5 +46,6 @@ thumbfunc:
 armfunc:
   bx lr
 // CHECK-ARM: Disassembly of section .callee2:
+// CHECK-ARM-EMPTY:
 // CHECK-ARM-NEXT: armfunc:
 // CHECK-ARM-NEXT:   900004:       1e ff 2f e1     bx      lr

Modified: lld/trunk/test/ELF/arm-bl-v6.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-bl-v6.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-bl-v6.s (original)
+++ lld/trunk/test/ELF/arm-bl-v6.s Wed May  1 03:40:48 2019
@@ -26,6 +26,7 @@ _start:
   bx lr
 
 // CHECK-ARM1: Disassembly of section .text:
+// CHECK-ARM1-EMPTY:
 // CHECK-ARM1-NEXT: _start:
 // CHECK-ARM1-NEXT:    11000:   00 00 00 fa     blx     #0 <thumbfunc>
 // CHECK-ARM1-NEXT:    11004:   1e ff 2f e1     bx      lr

Modified: lld/trunk/test/ELF/arm-blx.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-blx.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-blx.s (original)
+++ lld/trunk/test/ELF/arm-blx.s Wed May  1 03:40:48 2019
@@ -74,16 +74,19 @@ callee_arm_high:
   bx lr
 
 // CHECK-THUMB: Disassembly of section .callee1:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: callee_low:
 // CHECK-THUMB-NEXT:    b4:       70 47   bx      lr
 // CHECK-THUMB: callee_low2:
 // CHECK-THUMB-NEXT:    b6:       70 47   bx      lr
 
 // CHECK-ARM: Disassembly of section .callee2:
+// CHECK-ARM-EMPTY:
 // CHECK-ARM-NEXT: callee_arm_low:
 // CHECK-ARM-NEXT:    100:        1e ff 2f e1     bx      lr
 
 // CHECK-ARM: Disassembly of section .caller:
+// CHECK-ARM-EMPTY:
 // CHECK-ARM-NEXT: _start:
 // CHECK-ARM-NEXT:   10000:       2b c0 ff fa     blx     #-65364 <callee_low>
 // CHECK-ARM-NEXT:   10004:       2a c0 ff fa     blx     #-65368 <callee_low>
@@ -104,11 +107,13 @@ callee_arm_high:
 // CHECK-ARM-NEXT:   10038:       1e ff 2f e1     bx      lr
 
 // CHECK-THUMB: Disassembly of section .callee3:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB: callee_high:
 // CHECK-THUMB-NEXT:    10100:       70 47   bx      lr
 // CHECK-THUMB: callee_high2:
 // CHECK-THUMB-NEXT:    10102:       70 47   bx      lr
 
 // CHECK-ARM: Disassembly of section .callee4:
+// CHECK-ARM-EMPTY:
 // CHECK-NEXT-ARM: callee_arm_high:
 // CHECK-NEXT-ARM:   10200:     1e ff 2f e1     bx      lr

Modified: lld/trunk/test/ELF/arm-branch-rangethunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-branch-rangethunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-branch-rangethunk.s (original)
+++ lld/trunk/test/ELF/arm-branch-rangethunk.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@ _start:
  beq too_far3
 
 // SHORT: Disassembly of section .text:
+// SHORT-EMPTY:
 // SHORT-NEXT: _start:
 // SHORT-NEXT:    20000:       01 00 00 eb     bl      #4 <__ARMv7ABSLongThunk_too_far1>
 // SHORT-NEXT:    20004:       01 00 00 ea     b       #4 <__ARMv7ABSLongThunk_too_far2>
@@ -31,6 +32,7 @@ _start:
 // SHORT-NEXT:    20014:       fd ff 7f ea     b       #33554420 <__ARMv7ABSLongThunk_too_far3+0x1fffffc>
 
 // LONG: Disassembly of section .text:
+// LONG-EMPTY:
 // LONG-NEXT: _start:
 // LONG-NEXT:    20000:       01 00 00 eb     bl      #4 <__ARMv7ABSLongThunk_too_far1>
 // LONG-NEXT:    20004:       03 00 00 ea     b       #12 <__ARMv7ABSLongThunk_too_far2>

Modified: lld/trunk/test/ELF/arm-branch-undef-weak-plt-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-branch-undef-weak-plt-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-branch-undef-weak-plt-thunk.s (original)
+++ lld/trunk/test/ELF/arm-branch-undef-weak-plt-thunk.s Wed May  1 03:40:48 2019
@@ -22,6 +22,7 @@ _start:
  .space 32 * 1024 * 1024
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    11000:       00 00 00 ea     b       #0 <__ARMv7ABSLongThunk_undefined_weak_we_expect_a_plt_entry_for>
 // CHECK-NEXT:    11004:       02 00 00 eb     bl      #8 <__ARMv7ABSLongThunk_bar2>

Modified: lld/trunk/test/ELF/arm-branch.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-branch.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-branch.s (original)
+++ lld/trunk/test/ELF/arm-branch.s Wed May  1 03:40:48 2019
@@ -38,6 +38,7 @@ callee_high:
  bx lr
 
 // CHECK: Disassembly of section .caller:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // S(callee_low) = 0xb4 P = 0x10000 A = -8 = -0xff54 = -65364
 // CHECK-NEXT:   10000:       2b c0 ff eb          bl      #-65364 <callee_low>

Modified: lld/trunk/test/ELF/arm-copy.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-copy.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-copy.s (original)
+++ lld/trunk/test/ELF/arm-copy.s Wed May  1 03:40:48 2019
@@ -65,6 +65,7 @@ _start:
 // CHECK-NEXT:    Section: .bss
 
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: _start:
 // S(y) = 0x13000, A = 0
 // (S + A) & 0x0000ffff = 0x3000 = #12288

Modified: lld/trunk/test/ELF/arm-data-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-data-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-data-relocs.s (original)
+++ lld/trunk/test/ELF/arm-data-relocs.s Wed May  1 03:40:48 2019
@@ -12,9 +12,11 @@ _start:
 // S = 0x100, A = 0x24
 // S + A = 0x124
 // CHECK: Disassembly of section .R_ARM_ABS32POS:
+// CHECK-EMPTY:
 // CHECK: 11000: 24 01 00 00
  .section .R_ARM_ABS32NEG, "ax",%progbits
  .word foo - 0x24
 // S = 0x100, A = -0x24
 // CHECK: Disassembly of section .R_ARM_ABS32NEG:
+// CHECK-EMPTY:
 // CHECK: 11004: dc 00 00 00

Modified: lld/trunk/test/ELF/arm-exidx-canunwind.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-exidx-canunwind.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-exidx-canunwind.s (original)
+++ lld/trunk/test/ELF/arm-exidx-canunwind.s Wed May  1 03:40:48 2019
@@ -53,6 +53,7 @@ _start:
  bx lr
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    11000:       01 00 00 eb     bl      #4 <func1>
 // CHECK-NEXT:    11004:       01 00 00 eb     bl      #4 <func2>

Modified: lld/trunk/test/ELF/arm-exidx-gc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-exidx-gc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-exidx-gc.s (original)
+++ lld/trunk/test/ELF/arm-exidx-gc.s Wed May  1 03:40:48 2019
@@ -91,6 +91,7 @@ _start:
 // routines are kept alive by references from live .ARM.exidx and .ARM.extab
 // sections
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:   11000:       01 00 00 eb     bl      #4 <func1>
 // CHECK-NEXT:   11004:       01 00 00 eb     bl      #4 <func2>

Modified: lld/trunk/test/ELF/arm-exidx-order.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-exidx-order.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-exidx-order.s (original)
+++ lld/trunk/test/ELF/arm-exidx-order.s Wed May  1 03:40:48 2019
@@ -54,6 +54,7 @@ f3:
 // Check default no linker script order.
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK: _start:
 // CHECK-NEXT:    11000:       1e ff 2f e1     bx      lr
 // CHECK: f1:
@@ -67,12 +68,15 @@ f3:
 // CHECK: func5:
 // CHECK-NEXT:    11014:       1e ff 2f e1     bx      lr
 // CHECK: Disassembly of section .func1:
+// CHECK-EMPTY:
 // CHECK-NEXT: func1:
 // CHECK-NEXT:    11018:       1e ff 2f e1     bx      lr
 // CHECK: Disassembly of section .func2:
+// CHECK-EMPTY:
 // CHECK-NEXT: func2:
 // CHECK-NEXT:    1101c:       1e ff 2f e1     bx      lr
 // CHECK: Disassembly of section .func3:
+// CHECK-EMPTY:
 // CHECK-NEXT: func3:
 // CHECK-NEXT:    11020:       1e ff 2f e1     bx      lr
 
@@ -128,6 +132,7 @@ f3:
 // the .text section but before the orphan sections
 
 // CHECK-SCRIPT: Disassembly of section .text:
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: func4:
 // CHECK-SCRIPT-NEXT:    11000:       1e ff 2f e1     bx      lr
 // CHECK-SCRIPT:      func5:
@@ -140,13 +145,19 @@ f3:
 // CHECK-SCRIPT-NEXT:    11010:       1e ff 2f e1     bx      lr
 // CHECK-SCRIPT:      f3:
 // CHECK-SCRIPT-NEXT:    11014:       1e ff 2f e1     bx      lr
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: Disassembly of section .func1:
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: func1:
 // CHECK-SCRIPT-NEXT:    11018:       1e ff 2f e1     bx      lr
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: Disassembly of section .func2:
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: func2:
 // CHECK-SCRIPT-NEXT:    1101c:       1e ff 2f e1     bx      lr
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: Disassembly of section .func3:
+// CHECK-SCRIPT-EMPTY:
 // CHECK-SCRIPT-NEXT: func3:
 // CHECK-SCRIPT-NEXT:    11020:       1e ff 2f e1     bx      lr
 

Modified: lld/trunk/test/ELF/arm-extreme-range-pi-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-extreme-range-pi-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-extreme-range-pi-thunk.s (original)
+++ lld/trunk/test/ELF/arm-extreme-range-pi-thunk.s Wed May  1 03:40:48 2019
@@ -32,6 +32,7 @@ high:
 // ARMv7a instructions and relocations.
 
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:      130:        00 00 00 eb     bl      #0 <__ARMV7PILongThunk_high>
 // CHECK-NEXT:      134:        1e ff 2f e1     bx      lr
@@ -44,6 +45,7 @@ high:
 // CHECK-NEXT:      144:        1c ff 2f e1     bx      r12
 
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: high:
 // CHECK-NEXT: f0000000:        00 00 00 eb     bl      #0 <__ARMV7PILongThunk__start>
 // CHECK-NEXT: f0000004:        1e ff 2f e1     bx      lr
@@ -57,6 +59,7 @@ high:
 
 // Thumbv7a instructions and relocations
 // CHECK-THUMB: Disassembly of section .text_low:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: _start:
 // CHECK-THUMB-NEXT:      130:  00 f0 02 f8     bl      #4
 // CHECK-THUMB-NEXT:      134:  70 47   bx      lr
@@ -70,6 +73,7 @@ high:
 // CHECK-THUMB-NEXT:      142:  60 47   bx      r12
 
 // CHECK-THUMB: Disassembly of section .text_high:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: high:
 // CHECK-THUMB-NEXT: f0000000:  00 f0 02 f8     bl      #4
 // CHECK-THUMB-NEXT: f0000004:  70 47   bx      lr

Modified: lld/trunk/test/ELF/arm-force-pi-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-force-pi-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-force-pi-thunk.s (original)
+++ lld/trunk/test/ELF/arm-force-pi-thunk.s Wed May  1 03:40:48 2019
@@ -31,6 +31,7 @@ low_target2:
  bl high_target2
 
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:       94:        70 47   bx      lr
 // CHECK: low_target:
@@ -69,6 +70,7 @@ high_target2:
  bl low_target2
 
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: high_target:
 // CHECK-NEXT:  2000000:        00 f0 02 f8     bl      #4
 // CHECK-NEXT:  2000004:        00 f0 06 f8     bl      #12

Modified: lld/trunk/test/ELF/arm-fpic-got.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-fpic-got.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-fpic-got.s (original)
+++ lld/trunk/test/ELF/arm-fpic-got.s Wed May  1 03:40:48 2019
@@ -53,6 +53,7 @@ val:
 // SYMBOLS-NEXT:    Section: .data
 
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: _start:
 // CODE-NEXT:   11000:  08 00 9f e5     ldr     r0, [pc, #8]
 // CODE-NEXT:   11004:  00 00 9f e7     ldr     r0, [pc, r0]

Modified: lld/trunk/test/ELF/arm-gnu-ifunc-plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-gnu-ifunc-plt.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-gnu-ifunc-plt.s (original)
+++ lld/trunk/test/ELF/arm-gnu-ifunc-plt.s Wed May  1 03:40:48 2019
@@ -29,6 +29,7 @@
 // GOTPLT-NEXT:  13010 20100100
 
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:    11000:       1e ff 2f e1     bx      lr
 // DISASM: bar:
@@ -41,7 +42,9 @@
 // DISASM-NEXT:    11014:       04 00 00 00     .word   0x00000004
 // DISASM:         11018:       08 00 00 eb     bl      #32
 // DISASM-NEXT:    1101c:       0b 00 00 eb     bl      #44
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: $a:
 // DISASM-NEXT:    11020:       04 e0 2d e5     str     lr, [sp, #-4]!
 // DISASM-NEXT:    11024:       00 e6 8f e2     add     lr, pc, #0, #12

Modified: lld/trunk/test/ELF/arm-gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-gnu-ifunc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/arm-gnu-ifunc.s Wed May  1 03:40:48 2019
@@ -113,6 +113,7 @@ _start:
 // CHECK-NEXT:  }
 
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:    11000:      1e ff 2f e1     bx      lr
 // DISASM: bar:
@@ -126,7 +127,9 @@ _start:
 // 1 * 65536 + 260 = 0x10104 __rel_iplt_end
 // DISASM-NEXT:    11018:      04 01 00 e3     movw    r0, #260
 // DISASM-NEXT:    1101c:      01 00 40 e3     movt    r0, #1
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: $a:
 // DISASM-NEXT:    11020:       00 c6 8f e2     add     r12, pc, #0, #12
 // DISASM-NEXT:    11024:       00 ca 8c e2     add     r12, r12, #0, #20

Modified: lld/trunk/test/ELF/arm-got-relative.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-got-relative.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-got-relative.s (original)
+++ lld/trunk/test/ELF/arm-got-relative.s Wed May  1 03:40:48 2019
@@ -41,6 +41,7 @@ function:
 // CHECK-NEXT:    Section: .got
 
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: _start:
 // CODE-NEXT:    1000:        08 30 9f e5    ldr     r3, [pc, #8]
 // CODE-NEXT:    1004:        08 20 9f e5    ldr     r2, [pc, #8]

Modified: lld/trunk/test/ELF/arm-gotoff.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-gotoff.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-gotoff.s (original)
+++ lld/trunk/test/ELF/arm-gotoff.s Wed May  1 03:40:48 2019
@@ -53,6 +53,7 @@
 // CHECK-NEXT:    Section: .bss
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT :_start:
 // DISASM-NEXT   11000:       1e ff 2f e1     bx      lr
 // Offset 0 from .got = bar

Modified: lld/trunk/test/ELF/arm-icf-exidx.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-icf-exidx.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-icf-exidx.s (original)
+++ lld/trunk/test/ELF/arm-icf-exidx.s Wed May  1 03:40:48 2019
@@ -23,6 +23,7 @@ __aeabi_unwind_cpp_pr0:
  bx lr
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: g:
 // CHECK-NEXT:    11000:        1e ff 2f e1     bx      lr
 // CHECK: __aeabi_unwind_cpp_pr0:

Modified: lld/trunk/test/ELF/arm-mov-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-mov-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-mov-relocs.s (original)
+++ lld/trunk/test/ELF/arm-mov-relocs.s Wed May  1 03:40:48 2019
@@ -18,6 +18,7 @@ _start:
  movw r3, :lower16:label3
  movw r4, :lower16:label3 + 4
 // CHECK: Disassembly of section .R_ARM_MOVW_ABS_NC
+// CHECK-EMPTY:
 // CHECK: movw	r0, #0
 // CHECK: movw	r1, #4
 // CHECK: movw	r2, #12
@@ -30,6 +31,7 @@ _start:
  movt r3, :upper16:label3
  movt r4, :upper16:label3 + 4
 // CHECK: Disassembly of section .R_ARM_MOVT_ABS
+// CHECK-EMPTY:
 // CHECK: movt	r0, #2
 // CHECK: movt	r1, #2
 // CHECK: movt	r2, #2

Modified: lld/trunk/test/ELF/arm-plt-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-plt-reloc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-plt-reloc.s (original)
+++ lld/trunk/test/ELF/arm-plt-reloc.s Wed May  1 03:40:48 2019
@@ -20,6 +20,7 @@ _start:
 
 // Executable, expect no PLT
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: func1:
 // CHECK-NEXT:   11000:        1e ff 2f e1    bx      lr
 // CHECK: func2:
@@ -34,6 +35,7 @@ _start:
 // Expect PLT entries as symbols can be preempted
 // The .got.plt and .plt displacement is small so we can use small PLT entries.
 // DSO: Disassembly of section .text:
+// DSO-EMPTY:
 // DSO-NEXT: func1:
 // DSO-NEXT:     1000:       1e ff 2f e1     bx      lr
 // DSO: func2:
@@ -47,7 +49,9 @@ _start:
 // DSO-NEXT:     1010:       0e 00 00 eb     bl      #56
 // S(0x10160) - P(0x1014) + A(-8) = 0x44 = 68
 // DSO-NEXT:     1014:       11 00 00 0a     beq     #68
+// DSO-EMPTY:
 // DSO-NEXT: Disassembly of section .plt:
+// DSO-EMPTY:
 // DSO-NEXT: $a:
 // DSO-NEXT:     1020:       04 e0 2d e5     str     lr, [sp, #-4]!
 // (0x1024 + 8) + (0 RoR 12) + 4096 + (0xfdc) = 0x3008 = .got.plt[3]
@@ -114,6 +118,7 @@ _start:
 // RUN: llvm-readobj -S -r %t4 | FileCheck --check-prefix=DSORELHIGH %s
 
 // CHECKHIGH: Disassembly of section .text:
+// CHECKHIGH-EMPTY:
 // CHECKHIGH-NEXT: func1:
 // CHECKHIGH-NEXT:     1000:       1e ff 2f e1     bx      lr
 // CHECKHIGH: func2:
@@ -124,7 +129,9 @@ _start:
 // CHECKHIGH-NEXT:     100c:       03 04 00 ea     b       #4108 <$a>
 // CHECKHIGH-NEXT:     1010:       06 04 00 eb     bl      #4120 <$a>
 // CHECKHIGH-NEXT:     1014:       09 04 00 0a     beq     #4132 <$a>
+// CHECKHIGH-EMPTY:
 // CHECKHIGH-NEXT: Disassembly of section .plt:
+// CHECKHIGH-EMPTY:
 // CHECKHIGH-NEXT: $a:
 // CHECKHIGH-NEXT:     2000:       04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECKHIGH-NEXT:     2004:       10 e6 8f e2     add     lr, pc, #16, #12
@@ -179,6 +186,7 @@ _start:
 // RUN: llvm-readobj -S -r %t5 | FileCheck --check-prefix=DSORELLONG %s
 
 // CHECKLONG: Disassembly of section .text:
+// CHECKLONG-EMPTY:
 // CHECKLONG-NEXT: func1:
 // CHECKLONG-NEXT:     1000:       1e ff 2f e1     bx      lr
 // CHECKLONG: func2:
@@ -189,7 +197,9 @@ _start:
 // CHECKLONG-NEXT:     100c:       03 04 00 ea     b       #4108 <$a>
 // CHECKLONG-NEXT:     1010:       06 04 00 eb     bl      #4120 <$a>
 // CHECKLONG-NEXT:     1014:       09 04 00 0a     beq     #4132 <$a>
+// CHECKLONG-EMPTY:
 // CHECKLONG-NEXT: Disassembly of section .plt:
+// CHECKLONG-EMPTY:
 // CHECKLONG-NEXT: $a:
 // CHECKLONG-NEXT:     2000:       04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECKLONG-NEXT:     2004:       04 e0 9f e5     ldr     lr, [pc, #4]
@@ -245,6 +255,7 @@ _start:
 // RUN: llvm-readobj -S -r %t6 | FileCheck --check-prefix=DSORELMIX %s
 
 // CHECKMIX: Disassembly of section .text:
+// CHECKMIX-EMPTY:
 // CHECKMIX-NEXT: func1:
 // CHECKMIX-NEXT:     1000:     1e ff 2f e1     bx      lr
 // CHECKMIX: func2:
@@ -255,7 +266,9 @@ _start:
 // CHECKMIX-NEXT:     100c:     03 04 00 ea     b       #4108 <$a>
 // CHECKMIX-NEXT:     1010:     06 04 00 eb     bl      #4120 <$a>
 // CHECKMIX-NEXT:     1014:     09 04 00 0a     beq     #4132 <$a>
+// CHECKMIX-EMPTY:
 // CHECKMIX-NEXT: Disassembly of section .plt:
+// CHECKMIX-EMPTY:
 // CHECKMIX-NEXT: $a:
 // CHECKMIX-NEXT:     2000:     04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECKMIX-NEXT:     2004:     04 e0 9f e5     ldr     lr, [pc, #4]

Modified: lld/trunk/test/ELF/arm-sbrel32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-sbrel32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-sbrel32.s (original)
+++ lld/trunk/test/ELF/arm-sbrel32.s Wed May  1 03:40:48 2019
@@ -31,6 +31,7 @@ foo3:   .space 4
 foo4:   .space 4
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    11000:        1e ff 2f e1     bx      lr
 // CHECK:         11004:        00 00 00 00     .word   0x00000000

Modified: lld/trunk/test/ELF/arm-target1.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-target1.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-target1.s (original)
+++ lld/trunk/test/ELF/arm-target1.s Wed May  1 03:40:48 2019
@@ -26,6 +26,7 @@
 // Force generation of $d.0 as section is not all data
   nop
 // RELATIVE: Disassembly of section .text:
+// RELATIVE-EMPTY:
 // RELATIVE: $d.0:
 // RELATIVE:     1000:       04 00 00 00     .word   0x00000004
 // RELATIVE: SYMBOL TABLE:

Modified: lld/trunk/test/ELF/arm-thumb-blx.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-blx.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-blx.s (original)
+++ lld/trunk/test/ELF/arm-thumb-blx.s Wed May  1 03:40:48 2019
@@ -41,14 +41,17 @@ _start:
  bx lr
 
 // CHECK-ARM: Disassembly of section .R_ARM_CALL24_callee1:
+// CHECK-ARM-EMPTY:
 // CHECK-NEXT-ARM: callee_low:
 // CHECK-NEXT-ARM:      b4:     1e ff 2f e1     bx      lr
 
 // CHECK-THUMB: Disassembly of section .R_ARM_CALL24_callee2:
+// CHECK-THUMB-EMPTY:
 // CHECK-NEXT-THUMB: callee_thumb_low:
 // CHECK-NEXT-THUMB:     100:	70 47 	bx	lr
 
 // CHECK-THUMB: Disassembly of section .caller:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB: _start:
 // Align(0x10000,4) - 0xff50 (65360) + 4 = 0xb4 = callee_low
 // CHECK-NEXT-THUMB:   10000:       f0 f7 58 e8     blx     #-65360
@@ -77,9 +80,11 @@ _start:
 
 
 // CHECK-ARM: Disassembly of section .R_ARM_CALL24_callee3:
+// CHECK-ARM-EMPTY:
 // CHECK-NEXT-ARM: callee_high:
 // CHECK-NEXT-ARM:   10100:     1e ff 2f e1     bx      lr
 
 // CHECK: Disassembly of section .R_ARM_CALL24_callee4:
+// CHECK-EMPTY:
 // CHECK-NEXT-THUMB:callee_thumb_high:
 // CHECK-NEXT-THUMB:   10200:   70 47   bx      lr

Modified: lld/trunk/test/ELF/arm-thumb-branch-rangethunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-branch-rangethunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-branch-rangethunk.s (original)
+++ lld/trunk/test/ELF/arm-thumb-branch-rangethunk.s Wed May  1 03:40:48 2019
@@ -17,6 +17,7 @@ _start:
  beq.w too_far3
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    20000:       00 f0 04 f8     bl      #8
 // CHECK-NEXT:    20004:       00 f0 07 b8     b.w     #14 <__Thumbv7ABSLongThunk_too_far2>

Modified: lld/trunk/test/ELF/arm-thumb-branch.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-branch.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-branch.s (original)
+++ lld/trunk/test/ELF/arm-thumb-branch.s Wed May  1 03:40:48 2019
@@ -40,9 +40,12 @@ callee_high:
  bx lr
 
 // CHECK: Disassembly of section .callee1:
+// CHECK-EMPTY:
 // CHECK-NEXT: callee_low:
 // CHECK-NEXT:      b4:       70 47   bx      lr
+// CHECK-EMPTY:
 // CHECK-NEXT: Disassembly of section .caller:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:   10000:       f0 f7 58 f8     bl      #-65360
 // CHECK-NEXT:   10004:       f0 f7 56 b8     b.w     #-65364
@@ -55,6 +58,8 @@ callee_high:
 // CHECK-NEXT:   10020:       3f f3 ff af     bgt.w   #1048574
 // CHECK-NEXT:   10024:       70 47   bx      lr
 // CHECK-NEXT:   10026:
+// CHECK-EMPTY:
 // CHECK-NEXT: Disassembly of section .callee2:
+// CHECK-EMPTY:
 // CHECK-NEXT: callee_high:
 // CHECK-NEXT:   10028:       70 47   bx      lr

Modified: lld/trunk/test/ELF/arm-thumb-condbranch-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-condbranch-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-condbranch-thunk.s (original)
+++ lld/trunk/test/ELF/arm-thumb-condbranch-thunk.s Wed May  1 03:40:48 2019
@@ -34,6 +34,7 @@ _start:
 // Section
  bl tfunc33
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: tfunc00:
 // CHECK1-NEXT:    80000:       70 47   bx      lr
 // CHECK1-NEXT:    80002:       7f f3 ff d7     bl      #16252926

Modified: lld/trunk/test/ELF/arm-thumb-interwork-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-interwork-shared.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-interwork-shared.s (original)
+++ lld/trunk/test/ELF/arm-thumb-interwork-shared.s Wed May  1 03:40:48 2019
@@ -15,6 +15,7 @@ sym1:
 // entry.
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: sym1:
 // CHECK-NEXT: 1000: 00 f0 02 b8 b.w #4 <__ThumbV7PILongThunk_elsewhere>
 // CHECK-NEXT: 1004: 00 f0 06 b8 b.w #12 <__ThumbV7PILongThunk_weakref>
@@ -30,6 +31,7 @@ sym1:
 // CHECK-NEXT:     101e:       60 47   bx      r12
 
 // PLT: Disassembly of section .plt:
+// PLT-EMPTY:
 // PLT-NEXT: $a:
 // PLT-NEXT:     1020:  04 e0 2d e5     str     lr, [sp, #-4]!
 // PLT-NEXT:     1024:  00 e6 8f e2     add     lr, pc, #0, #12

Modified: lld/trunk/test/ELF/arm-thumb-interwork-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-interwork-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-interwork-thunk.s (original)
+++ lld/trunk/test/ELF/arm-thumb-interwork-thunk.s Wed May  1 03:40:48 2019
@@ -39,6 +39,7 @@ thumb_callee1:
  bx lr
 
 // CHECK-THUMB: Disassembly of section .R_ARM_JUMP24_callee_1:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB: thumb_callee1:
 // CHECK-THUMB: 1000:       70 47   bx
  .section .R_ARM_THM_JUMP_callee_low, "ax", %progbits
@@ -79,6 +80,7 @@ arm_caller:
  bne arm_callee3
  bx lr
 // CHECK-ARM-ABS-ARM: Disassembly of section .arm_caller:
+// CHECK-ARM-ABS-ARM-EMPTY:
 // CHECK-ARM-ABS-ARM-NEXT: arm_caller:
 // CHECK-ARM-ABS-ARM-NEXT:     1300:       3e ff ff fa     blx     #-776 <thumb_callee1>
 // CHECK-ARM-ABS-ARM-NEXT:     1304:       3d ff ff fa     blx     #-780 <thumb_callee1>
@@ -107,6 +109,7 @@ arm_caller:
 // CHECK-ARM-ABS-ARM-NEXT:     1348:       1c ff 2f e1     bx      r12
 
 // CHECK-PI-ARM: Disassembly of section .arm_caller:
+// CHECK-PI-ARM-EMPTY:
 // CHECK-PI-ARM-NEXT: arm_caller:
 // CHECK-PI-ARM-NEXT:     1300:       3e ff ff fa     blx     #-776 <thumb_callee1>
 // CHECK-PI-ARM-NEXT:     1304:       3d ff ff fa     blx     #-780 <thumb_callee1>
@@ -140,6 +143,7 @@ arm_caller:
 
 // All PLT entries are ARM, no need for interworking thunks
 // CHECK-PI-ARM-PLT: Disassembly of section .arm_caller:
+// CHECK-PI-ARM-PLT-EMPTY:
 // CHECK-PI-ARM-PLT-NEXT: arm_caller:
 // 0x17e4 PLT(thumb_callee1)
 // CHECK-PI-ARM-PLT-NEXT:    1300:       37 01 00 eb     bl      #1244
@@ -184,6 +188,7 @@ thumb_caller:
  beq.w arm_callee2
  bne.w arm_callee3
 // CHECK-ABS-THUMB: Disassembly of section .thumb_caller:
+// CHECK-ABS-THUMB-EMPTY:
 // CHECK-ABS-THUMB-NEXT: thumb_caller:
 // CHECK-ABS-THUMB-NEXT:     1400:       ff f7 7e ee     blx     #-772
 // CHECK-ABS-THUMB-NEXT:     1404:       ff f7 7c ee     blx     #-776
@@ -210,6 +215,7 @@ thumb_caller:
 // CHECK-ABS-THUMB-NEXT:     143c:       60 47   bx      r12
 
 // CHECK-PI-THUMB: Disassembly of section .thumb_caller:
+// CHECK-PI-THUMB-EMPTY:
 // CHECK-PI-THUMB-NEXT: thumb_caller:
 // CHECK-PI-THUMB-NEXT:     1400:       ff f7 7e ee     blx     #-772
 // CHECK-PI-THUMB-NEXT:     1404:       ff f7 7c ee     blx     #-776
@@ -239,6 +245,7 @@ thumb_caller:
 // CHECK-PI-THUMB-NEXT:     1442:       60 47   bx      r12
 
 // CHECK-PI-THUMB-PLT: Disassembly of section .arm_caller:
+// CHECK-PI-THUMB-PLT-EMPTY:
 // CHECK-PI-THUMB-PLT-NEXT: thumb_caller:
 // 0x1400 + 4 + 0x410 = 0x1814 = PLT(arm_callee1)
 // CHECK-PI-THUMB-PLT-NEXT:    1400:    00 f0 08 ea     blx     #1040
@@ -286,6 +293,7 @@ thumb_callee2:
 thumb_callee3:
  bx lr
 // CHECK-THUMB:  Disassembly of section .R_ARM_JUMP24_callee_2:
+// CHECK-THUMB-EMPTY:
 // CHECK-THUMB-NEXT: thumb_callee2:
 // CHECK-THUMB-NEXT: 1500:       70 47   bx      lr
 // CHECK-THUMB: thumb_callee3:
@@ -303,6 +311,7 @@ arm_callee2:
 arm_callee3:
  bx lr
 // CHECK-ARM: Disassembly of section .R_ARM_THM_JUMP_callee_2:
+// CHECK-ARM-EMPTY:
 // CHECK-ARM-NEXT: arm_callee2:
 // CHECK-ARM-NEXT:     1600:     1e ff 2f e1     bx      lr
 // CHECK-ARM: arm_callee3:
@@ -321,6 +330,7 @@ _start:
 
 
 // CHECK-PI-ARM-PLT: Disassembly of section .plt:
+// CHECK-PI-ARM-PLT-EMPTY:
 // CHECK-PI-ARM-PLT-NEXT: .plt:
 // CHECK-PI-ARM-PLT-NEXT: 17b0:         04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECK-PI-ARM-PLT-NEXT: 17b4:         04 e0 9f e5     ldr     lr, [pc, #4]

Modified: lld/trunk/test/ELF/arm-thumb-narrow-branch-check.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-narrow-branch-check.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-narrow-branch-check.s (original)
+++ lld/trunk/test/ELF/arm-thumb-narrow-branch-check.s Wed May  1 03:40:48 2019
@@ -50,9 +50,12 @@ callee_high:
 callee_high_far = 0x180d
 
 // CHECK: Disassembly of section .R_ARM_PC11_1:
+// CHECK-EMPTY:
 // CHECK-NEXT: callee_low:
 // CHECK-NEXT:    1000:       70 47   bx      lr
+// CHECK-EMPTY:
 // CHECK-NEXT: Disassembly of section .caller:
+// CHECK-EMPTY:
 // CHECK-NEXT: callers:
 // 1004 - 0x800 (2048) + 4 = 0x808 = callee_low_far
 // CHECK-NEXT:    1004:       00 e4   b       #-2048
@@ -64,10 +67,14 @@ callee_high_far = 0x180d
 // CHECK-NEXT:    100a:       ff e3   b       #2046
 // CHECK-NEXT:    100c:       70 47   bx      lr
 // CHECK-NEXT:    100e:       00 bf   nop
+// CHECK-EMPTY:
 // CHECK-NEXT: Disassembly of section .R_ARM_PC11_2:
+// CHECK-EMPTY:
 // CHECK-NEXT: callee_high:
 // CHECK-NEXT:    1010:       70 47   bx      lr
+// CHECK-EMPTY:
 // CHECK-NEXT: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:    1014:       ff f7 f6 ff     bl      #-20
 // CHECK-NEXT:    1018:       70 47   bx      lr

Modified: lld/trunk/test/ELF/arm-thumb-no-undefined-thunk.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-no-undefined-thunk.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-no-undefined-thunk.s (original)
+++ lld/trunk/test/ELF/arm-thumb-no-undefined-thunk.s Wed May  1 03:40:48 2019
@@ -17,6 +17,7 @@ _start:
  b.w target
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // 69636 = 0x11004 = next instruction
 // CHECK:         11000: {{.*}} bl      #0

Modified: lld/trunk/test/ELF/arm-thumb-plt-range-thunk-os.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-plt-range-thunk-os.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-plt-range-thunk-os.s (original)
+++ lld/trunk/test/ELF/arm-thumb-plt-range-thunk-os.s Wed May  1 03:40:48 2019
@@ -35,6 +35,7 @@ preemptible:
  bl far_nonpreemptible_alias
  bx lr
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: sym1:
 // CHECK1-NEXT:  2000000:       00 f0 00 d8     bl      #8388608
 // CHECK1-NEXT:  2000004:       00 f0 04 d8     bl      #8388616
@@ -84,6 +85,7 @@ far_nonpreemptible_alias:
 // CHECK3:  4000000:       00 f0 16 e8     blx     #44
 
 // CHECK4: Disassembly of section .plt:
+// CHECK4-EMPTY:
 // CHECK4-NEXT: $a:
 // CHECK4-NEXT:  4000010:	04 e0 2d e5 	str	lr, [sp, #-4]!
 // CHECK4-NEXT:  4000014:	00 e6 8f e2 	add	lr, pc, #0, #12

Modified: lld/trunk/test/ELF/arm-thumb-plt-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-plt-reloc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-plt-reloc.s (original)
+++ lld/trunk/test/ELF/arm-thumb-plt-reloc.s Wed May  1 03:40:48 2019
@@ -24,6 +24,7 @@ _start:
 
 // Executable, expect no PLT
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: func1:
 // CHECK-NEXT:   11000: 70 47   bx      lr
 // CHECK: func2:
@@ -43,6 +44,7 @@ _start:
 // .text is Thumb and .plt is ARM, llvm-objdump can currently only disassemble
 // as ARM or Thumb. Work around by disassembling twice.
 // DSOTHUMB: Disassembly of section .text:
+// DSOTHUMB-EMPTY:
 // DSOTHUMB-NEXT: func1:
 // DSOTHUMB-NEXT:     1000:     70 47   bx      lr
 // DSOTHUMB: func2:
@@ -58,6 +60,7 @@ _start:
 // 0x1010 + 0x4C + 4 = 0x1060 = PLT func3
 // DSOTHUMB-NEXT:     1010:     00 f0 26 e8     blx     #76
 // DSOARM: Disassembly of section .plt:
+// DSOARM-EMPTY:
 // DSOARM-NEXT: $a:
 // DSOARM-NEXT:     1020:       04 e0 2d e5     str     lr, [sp, #-4]!
 // (0x1024 + 8) + (0 RoR 12) + 4096 + (0xfdc) = 0x3008 = .got.plt[3]

Modified: lld/trunk/test/ELF/arm-thumb-range-thunk-os.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-range-thunk-os.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-range-thunk-os.s (original)
+++ lld/trunk/test/ELF/arm-thumb-range-thunk-os.s Wed May  1 03:40:48 2019
@@ -43,6 +43,7 @@ _start:
 // the first of the pre-created ThunkSections.
  bl tfunc16
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: _start:
 // CHECK1-NEXT:   100000:       ff f0 fe ff     bl      #1048572
 // CHECK1-NEXT:   100004:       ff f3 fc d7     bl      #16777208

Modified: lld/trunk/test/ELF/arm-thumb-thunk-empty-pass.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-thunk-empty-pass.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-thunk-empty-pass.s (original)
+++ lld/trunk/test/ELF/arm-thumb-thunk-empty-pass.s Wed May  1 03:40:48 2019
@@ -17,6 +17,7 @@ foo:
  bl _start
 
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: _start:
 // CHECK1-NEXT:    11000:       ff f7 fe ff     bl      #-4
 // CHECK1: __Thumbv7ABSLongThunk__start:

Modified: lld/trunk/test/ELF/arm-thumb-thunk-v6m.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-thunk-v6m.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-thunk-v6m.s (original)
+++ lld/trunk/test/ELF/arm-thumb-thunk-v6m.s Wed May  1 03:40:48 2019
@@ -31,6 +31,7 @@ far:
  bx lr
 
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:       94:        00 f0 00 f8     bl      #0
 // CHECK: __Thumbv6MABSLongThunk_far:
@@ -40,10 +41,12 @@ far:
 // CHECK-NEXT:       9e:        01 bd   pop     {r0, pc}
 // CHECK:       a0:     01 00 00 02     .word   0x02000001
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: far:
 // CHECK-NEXT:  2000000:        70 47   bx      lr
 
 // CHECK-PI: Disassembly of section .text_low:
+// CHECK-PI-EMPTY:
 // CHECK-PI-NEXT: _start:
 // CHECK-PI-NEXT:      130:     00 f0 00 f8     bl      #0
 // CHECK-PI: __Thumbv6MPILongThunk_far:
@@ -57,5 +60,6 @@ far:
 // CHECK-PI:           140:     c1 fe ff 01     .word   0x01fffec1
 
 // CHECK-PI: Disassembly of section .text_high:
+// CHECK-PI-EMPTY:
 // CHECK-PI-NEXT: far:
 // CHECK-PI-NEXT:  2000000:     70 47   bx      lr

Modified: lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test (original)
+++ lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test Wed May  1 03:40:48 2019
@@ -4,6 +4,7 @@
 # RUN: llvm-objdump -triple=thumbv7a-linux-gnueabi -d %t | FileCheck %s
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT:_start:
 # CHECK-NEXT:    11000:       ff e7   b       #-2
 

Modified: lld/trunk/test/ELF/arm-thumb-undefined-weak.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-undefined-weak.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-undefined-weak.s (original)
+++ lld/trunk/test/ELF/arm-thumb-undefined-weak.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@ _start:
  movw r0, :lower16:target - .
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // 69636 = 0x11004
 // CHECK:         11000: {{.*}} beq.w   #0 <_start+0x4>
 // CHECK-NEXT:    11004: {{.*}} b.w     #0 <_start+0x8>

Modified: lld/trunk/test/ELF/arm-thunk-largesection.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-largesection.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-largesection.s (original)
+++ lld/trunk/test/ELF/arm-thunk-largesection.s Wed May  1 03:40:48 2019
@@ -16,6 +16,7 @@ _start:
  bx lr
  .space 0x1000
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT:_start:
 // CHECK1-NEXT:   11000:       70 47   bx      lr
 // CHECK1-EMPTY:

Modified: lld/trunk/test/ELF/arm-thunk-linkerscript-dotexpr.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-linkerscript-dotexpr.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-linkerscript-dotexpr.s (original)
+++ lld/trunk/test/ELF/arm-thunk-linkerscript-dotexpr.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@ low_target2:
  bl high_target
  bl high_target2
 // CHECK1: Disassembly of section .text_low:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: _start:
 // CHECK1-NEXT:       94:       70 47   bx      lr
 // CHECK1: low_target:

Modified: lld/trunk/test/ELF/arm-thunk-linkerscript-large.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-linkerscript-large.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-linkerscript-large.s (original)
+++ lld/trunk/test/ELF/arm-thunk-linkerscript-large.s Wed May  1 03:40:48 2019
@@ -53,6 +53,7 @@ _start:
  // Expect a range extension thunk in .text OutputSection
  bl tfunch31
 // CHECK1: Disassembly of section .text:
+// CHECK1-EMPTY:
 // CHECK1-NEXT: _start:
 // CHECK1-NEXT:   100000:       ff f0 fe ff     bl      #1048572
 // CHECK1-NEXT:   100004:       00 f0 00 f8     bl      #0
@@ -66,6 +67,7 @@ _start:
  // We can reuse existing thunk in .text
  bl tfunch31
 // CHECK2: Disassembly of section .textl:
+// CHECK2-EMPTY:
 // CHECK2-NEXT: tfuncl00:
 // CHECK2-NEXT:   200000:	70 47 	bx	lr
 // CHECK2-NEXT:   200002:	ff f0 ff df 	bl	#9437182
@@ -122,6 +124,7 @@ _start:
  // Shouldn't need a thunk
         bl tfuncl31
 // CHECK5:  Disassembly of section .texth:
+// CHECK5-EMPTY:
 // CHECK5-NEXT: tfunch00:
 // CHECK5-NEXT:  2200000:       70 47   bx      lr
 // CHECK5-NEXT:  2200002:       00 f7 05 f8     bl      #-1048566

Modified: lld/trunk/test/ELF/arm-thunk-linkerscript-orphan.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-linkerscript-orphan.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-linkerscript-orphan.s (original)
+++ lld/trunk/test/ELF/arm-thunk-linkerscript-orphan.s Wed May  1 03:40:48 2019
@@ -18,6 +18,7 @@ low_target:
  bl high_target
  bl orphan_target
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:   100000:        70 47   bx      lr
 // CHECK: low_target:
@@ -39,6 +40,7 @@ high_target:
  bl low_target
  bl orphan_target
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: high_target:
 // CHECK-NEXT:  2000000:        00 f0 02 f8     bl      #4
 // CHECK-NEXT:  2000004:        00 f0 06 f8     bl      #12
@@ -55,6 +57,7 @@ orphan_target:
  bl low_target
  bl high_target
 // CHECK: Disassembly of section orphan:
+// CHECK-EMPTY:
 // CHECK-NEXT: orphan_target:
 // CHECK-NEXT:  2000014:        ff f7 f8 ff     bl      #-16
 // CHECK-NEXT:  2000018:        ff f7 f2 ff     bl      #-28

Modified: lld/trunk/test/ELF/arm-thunk-linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-linkerscript.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-linkerscript.s (original)
+++ lld/trunk/test/ELF/arm-thunk-linkerscript.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@ low_target2:
  bl high_target2
 
 // CHECK: Disassembly of section .text_low:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:       94:        70 47   bx      lr
 // CHECK: low_target:
@@ -62,6 +63,7 @@ high_target2:
  bl low_target2
 
 // CHECK: Disassembly of section .text_high:
+// CHECK-EMPTY:
 // CHECK-NEXT: high_target:
 // CHECK-NEXT:  2000000:        00 f0 02 f8     bl      #4
 // CHECK-NEXT:  2000004:        00 f0 05 f8     bl      #10

Modified: lld/trunk/test/ELF/arm-thunk-multipass-plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-multipass-plt.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-multipass-plt.s (original)
+++ lld/trunk/test/ELF/arm-thunk-multipass-plt.s Wed May  1 03:40:48 2019
@@ -70,6 +70,7 @@ preemptible2:
 
 
 // CHECK-PLT: Disassembly of section .plt:
+// CHECK-PLT-EMPTY:
 // CHECK-PLT-NEXT: 0000000000d00020 $a:
 // CHECK-PLT-NEXT:   d00020:    04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECK-PLT-NEXT:   d00024:    00 e6 8f e2     add     lr, pc, #0, #12

Modified: lld/trunk/test/ELF/arm-thunk-re-add.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-re-add.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-re-add.s (original)
+++ lld/trunk/test/ELF/arm-thunk-re-add.s Wed May  1 03:40:48 2019
@@ -99,6 +99,7 @@ callers:
 // CHECK2-NEXT:  110001c:       ff f6 f8 bf     b.w     #-1048592 <__ThumbV7PILongThunk_imported2>
 
 // CHECK3: Disassembly of section .plt:
+// CHECK3-EMPTY:
 // CHECK3-NEXT: $a:
 // CHECK3-NEXT:  1100020:       04 e0 2d e5     str     lr, [sp, #-4]!
 // CHECK3-NEXT:  1100024:       00 e6 8f e2     add     lr, pc, #0, #12

Modified: lld/trunk/test/ELF/arm-tls-gd32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-tls-gd32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-tls-gd32.s (original)
+++ lld/trunk/test/ELF/arm-tls-gd32.s Wed May  1 03:40:48 2019
@@ -91,8 +91,7 @@ x:
 // SEC-NEXT: 0x2058 R_ARM_TLS_DTPOFF32 y
 
 
-// CHECK: Disassembly
-// CHECK-NEXT: func:
+// CHECK-LABEL: 0000000000001000 func:
 // CHECK-NEXT:    1000:      00 f0 20 e3     nop
 // CHECK-NEXT:    1004:      00 f0 20 e3     nop
 // CHECK-NEXT:    1008:      00 f0 20 e3     nop

Modified: lld/trunk/test/ELF/arm-tls-ie32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-tls-ie32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-tls-ie32.s (original)
+++ lld/trunk/test/ELF/arm-tls-ie32.s Wed May  1 03:40:48 2019
@@ -83,6 +83,7 @@ x:
 // SEC:  0x2050 R_ARM_TLS_TPOFF32 y
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: func:
 // CHECK-NEXT:    1000: 00 f0 20 e3     nop
 // CHECK-NEXT:    1004: 00 f0 20 e3     nop

Modified: lld/trunk/test/ELF/arm-tls-ldm32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-tls-ldm32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-tls-ldm32.s (original)
+++ lld/trunk/test/ELF/arm-tls-ldm32.s Wed May  1 03:40:48 2019
@@ -56,6 +56,7 @@ x:
 // SEC-NEXT:  0x204C R_ARM_TLS_DTPMOD32 - 0x0
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT: 1000:       00 f0 20 e3     nop
 
@@ -65,6 +66,7 @@ x:
 // CHECK-NEXT: 100c:       04 00 00 00
 
 // CHECK-EXE: Disassembly of section .text:
+// CHECK-EXE-EMPTY:
 // CHECK-NEXT-EXE: _start:
 // CHECK-NEXT-EXE:   11000:       00 f0 20 e3     nop
 

Modified: lld/trunk/test/ELF/arm-tls-le32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-tls-le32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-tls-le32.s (original)
+++ lld/trunk/test/ELF/arm-tls-le32.s Wed May  1 03:40:48 2019
@@ -68,6 +68,7 @@ x:
 // SEC-NEXT: }
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // offset of x from Thread pointer = (TcbSize + 0x0 = 0x20)
 // CHECK-NEXT:   11000:         20 00 00 00

Modified: lld/trunk/test/ELF/arm-undefined-weak.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-undefined-weak.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-undefined-weak.s (original)
+++ lld/trunk/test/ELF/arm-undefined-weak.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@ _start:
  .word target - .
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // 69636 = 0x11004
 // CHECK:         11000: {{.*}} b       #-4 <_start+0x4>
 // CHECK-NEXT:    11004: {{.*}} bl      #-4 <_start+0x8>

Modified: lld/trunk/test/ELF/comdat.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/comdat.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/comdat.s (original)
+++ lld/trunk/test/ELF/comdat.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@ foo:
         nop
 
 // CHECK: Disassembly of section .text2:
+// CHECK-EMPTY:
 // CHECK-NEXT: foo:
 // CHECK-NEXT:   1000: {{.*}}  nop
 // CHECK-NOT: nop
@@ -27,6 +28,7 @@ foo:
         call foo
 
 // CHECK: Disassembly of section bar:
+// CHECK-EMPTY:
 // CHECK-NEXT: bar:
 // 0x1000 - 0x1001 - 5 = -6
 // 0      - 0x1006 - 5 = -4107

Modified: lld/trunk/test/ELF/copy-rel-pie.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/copy-rel-pie.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/copy-rel-pie.s (original)
+++ lld/trunk/test/ELF/copy-rel-pie.s Wed May  1 03:40:48 2019
@@ -42,6 +42,7 @@ _start:
 // 0x3020          - 0x100a = 8214
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT:     1000:       e8 1b 00 00 00  callq   27
 // DISASM-NEXT:     1005:       e8 16 20 00 00  callq   8214 <foo>

Modified: lld/trunk/test/ELF/defsym.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/defsym.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/defsym.s (original)
+++ lld/trunk/test/ELF/defsym.s Wed May  1 03:40:48 2019
@@ -36,6 +36,7 @@
 
 ## Check we can use foo2 and it that it is an alias for foo1.
 # USE:       Disassembly of section .text:
+# USE-EMPTY:
 # USE-NEXT:  _start:
 # USE-NEXT:    movl $0x123, %edx
 

Modified: lld/trunk/test/ELF/eh-frame-hdr.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/eh-frame-hdr.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/eh-frame-hdr.s (original)
+++ lld/trunk/test/ELF/eh-frame-hdr.s Wed May  1 03:40:48 2019
@@ -38,15 +38,20 @@ _start:
 // NOHDR:      ProgramHeaders [
 // NOHDR-NOT:   PT_GNU_EH_FRAME
 
-//HDRDISASM:      Disassembly of section foo:
-//HDRDISASM-NEXT: foo:
-//HDRDISASM-NEXT:    201000: 90 nop
-//HDRDISASM-NEXT: Disassembly of section bar:
-//HDRDISASM-NEXT: bar:
-//HDRDISASM-NEXT:    201001: 90 nop
-//HDRDISASM-NEXT: Disassembly of section dah:
-//HDRDISASM-NEXT: dah:
-//HDRDISASM-NEXT:    201002: 90 nop
+// HDRDISASM:      Disassembly of section foo:
+// HDRDISASM-EMPTY:
+// HDRDISASM-NEXT: foo:
+// HDRDISASM-NEXT:    201000: 90 nop
+// HDRDISASM-EMPTY:
+// HDRDISASM-NEXT: Disassembly of section bar:
+// HDRDISASM-EMPTY:
+// HDRDISASM-NEXT: bar:
+// HDRDISASM-NEXT:    201001: 90 nop
+// HDRDISASM-EMPTY:
+// HDRDISASM-NEXT: Disassembly of section dah:
+// HDRDISASM-EMPTY:
+// HDRDISASM-NEXT: dah:
+// HDRDISASM-NEXT:    201002: 90 nop
 
 // HDR:       Section {
 // HDR:         Index:

Modified: lld/trunk/test/ELF/ehframe-relocation.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ehframe-relocation.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ehframe-relocation.s (original)
+++ lld/trunk/test/ELF/ehframe-relocation.s Wed May  1 03:40:48 2019
@@ -18,6 +18,7 @@
 // 0x200120 = 2097440
 // 0x200120 + 5 = 2097445
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT:   201000: {{.*}} movq 2097440, %rax
 // DISASM-NEXT:   201008: {{.*}} movq 2097445, %rax

Modified: lld/trunk/test/ELF/gdb-index.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gdb-index.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gdb-index.s (original)
+++ lld/trunk/test/ELF/gdb-index.s Wed May  1 03:40:48 2019
@@ -16,6 +16,7 @@
 # RUN: llvm-readelf -sections %t | FileCheck %s --check-prefix=SECTION
 
 # DISASM:       Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM:       entrypoint:
 # DISASM-CHECK:   201000: 90 nop
 # DISASM-CHECK:   201001: cc int3

Modified: lld/trunk/test/ELF/gnu-ifunc-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-i386.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-i386.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-i386.s Wed May  1 03:40:48 2019
@@ -107,6 +107,7 @@
 // CHECK-NEXT:]
 
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo_resolver:
 // DISASM-NEXT:    401000: c3 retl
 // DISASM: bar_resolver:
@@ -116,7 +117,9 @@
 // DISASM-NEXT:    401007: e8 24 00 00 00 calll 36
 // DISASM-NEXT:    40100c: ba d4 00 40 00 movl $4194516, %edx
 // DISASM-NEXT:    401011: ba e4 00 40 00 movl $4194532, %edx
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:    401020: ff 25 00 20 40 00 jmpl *4202496
 // DISASM-NEXT:    401026: 68 10 00 00 00 pushl $16

Modified: lld/trunk/test/ELF/gnu-ifunc-plt-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-plt-i386.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-plt-i386.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-plt-i386.s Wed May  1 03:40:48 2019
@@ -27,6 +27,7 @@
 
 // Check that a PLT header is written and the ifunc entries appear last
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:    401000:       c3      retl
 // DISASM:      bar:
@@ -36,7 +37,9 @@
 // DISASM-NEXT:    401007:       e8 54 00 00 00          calll   84
 // DISASM-NEXT:    40100c:       e8 1f 00 00 00          calll   31
 // DISASM-NEXT:    401011:       e8 2a 00 00 00          calll   42
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:    401020:       ff 35 04 30 40 00       pushl   4206596
 // DISASM-NEXT:    401026:       ff 25 08 30 40 00       jmpl    *4206600

Modified: lld/trunk/test/ELF/gnu-ifunc-plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-plt.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-plt.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-plt.s Wed May  1 03:40:48 2019
@@ -28,6 +28,7 @@
 
 // Check that a PLT header is written and the ifunc entries appear last
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:   201000:       c3      retq
 // DISASM:      bar:
@@ -37,7 +38,9 @@
 // DISASM-NEXT:   201007:       e8 54 00 00 00          callq   84
 // DISASM-NEXT:   20100c:       e8 1f 00 00 00          callq   31
 // DISASM-NEXT:   201011:       e8 2a 00 00 00          callq   42
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:   201020:       ff 35 e2 1f 00 00       pushq   8162(%rip)
 // DISASM-NEXT:   201026:       ff 25 e4 1f 00 00       jmpq    *8164(%rip)

Modified: lld/trunk/test/ELF/gnu-ifunc-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-shared.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-shared.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-shared.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 // Check that an IRELATIVE relocation is used for a non-preemptible ifunc
 // handler and a JUMP_SLOT is used for a preemptible ifunc
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: fct:
 // DISASM-NEXT:     1000:       c3      retq
 // DISASM:     fct2:
@@ -18,7 +19,9 @@
 // DISASM-NEXT:     1011:       c3      retq
 // DISASM:     f2:
 // DISASM-NEXT:     1012:       c3      retq
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:     1020:       ff 35 e2 1f 00 00       pushq   8162(%rip)
 // DISASM-NEXT:     1026:       ff 25 e4 1f 00 00       jmpq    *8164(%rip)

Modified: lld/trunk/test/ELF/gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc.s Wed May  1 03:40:48 2019
@@ -90,6 +90,7 @@
 // CHECK-NEXT: ]
 
 // DISASM: Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: foo:
 // DISASM-NEXT:  201000: {{.*}} retq
 // DISASM:      bar:
@@ -100,7 +101,9 @@
 // DISASM-NEXT:  20100c: {{.*}} movl $2097496, %edx
 // DISASM-NEXT:  201011: {{.*}} movl $2097544, %edx
 // DISASM-NEXT:  201016: {{.*}} movl $2097545, %edx
+// DISASM-EMPTY:
 // DISASM-NEXT: Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:  201020: {{.*}} jmpq *4058(%rip)
 // DISASM-NEXT:  201026: {{.*}} pushq $0

Modified: lld/trunk/test/ELF/got-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/got-i386.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/got-i386.s (original)
+++ lld/trunk/test/ELF/got-i386.s Wed May  1 03:40:48 2019
@@ -40,6 +40,7 @@
 // 0x40200A - 10 = addr(.got) = 0x402000
 // 0x40200A + 5 - 15 = addr(.got) = 0x402000
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT: 401000: c7 81 0c 00 00 00 01 00 00 00 movl $1, 12(%ecx)
 // DISASM-NEXT: 40100a: c7 81 16 00 00 00 02 00 00 00 movl $2, 22(%ecx)

Modified: lld/trunk/test/ELF/gotpc-relax-nopic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpc-relax-nopic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gotpc-relax-nopic.s (original)
+++ lld/trunk/test/ELF/gotpc-relax-nopic.s Wed May  1 03:40:48 2019
@@ -14,6 +14,7 @@
 
 ## 2105344 = 0x202000 (bar)
 # DISASM:      Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM-NEXT: _start:
 # DISASM-NEXT:   201000: {{.*}} adcq  $2105344, %rax
 # DISASM-NEXT:   201007: {{.*}} addq  $2105344, %rbx
@@ -55,6 +56,7 @@
 ## Ex: 0x1000 + 4249 + 7 = 0x20A0
 ##     0x102a + 4207 + 7 = 0x20A0
 # DISASM-PIC:      Disassembly of section .text:
+# DISASM-PIC-EMPTY:
 # DISASM-PIC-NEXT: _start:
 # DISASM-PIC-NEXT: 1000: {{.*}} adcq  4249(%rip), %rax
 # DISASM-PIC-NEXT: 1007: {{.*}} addq  4242(%rip), %rbx

Modified: lld/trunk/test/ELF/gotpc-relax-und-dso.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpc-relax-und-dso.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gotpc-relax-und-dso.s (original)
+++ lld/trunk/test/ELF/gotpc-relax-und-dso.s Wed May  1 03:40:48 2019
@@ -17,6 +17,7 @@
 # 0x101e + 7 - 36 = 0x1001
 # 0x1025 + 7 - 43 = 0x1001
 # DISASM:      Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM-NEXT: foo:
 # DISASM-NEXT:     nop
 # DISASM:      hid:

Modified: lld/trunk/test/ELF/gotpc-relax.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpc-relax.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/gotpc-relax.s (original)
+++ lld/trunk/test/ELF/gotpc-relax.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 # 0x201011 + 7 - 23 = 0x201001
 # 0x201018 + 7 - 30 = 0x201001
 # DISASM:      Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM-NEXT: foo:
 # DISASM-NEXT:   201000: 90 nop
 # DISASM:      hid:

Modified: lld/trunk/test/ELF/i386-gotpc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-gotpc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-gotpc.s (original)
+++ lld/trunk/test/ELF/i386-gotpc.s Wed May  1 03:40:48 2019
@@ -9,6 +9,7 @@ movl $_GLOBAL_OFFSET_TABLE_, %eax
 // CHECK: .got.plt          PROGBITS        00003000
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: .text:
 // DISASM-NEXT:    1000: {{.*}}         movl    $8192, %eax
 //                                              0x3000 (.got.plt) - 0x1000 = 8192

Modified: lld/trunk/test/ELF/i386-reloc-large-addend.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-reloc-large-addend.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-reloc-large-addend.s (original)
+++ lld/trunk/test/ELF/i386-reloc-large-addend.s Wed May  1 03:40:48 2019
@@ -8,6 +8,7 @@
 // RUN: llvm-objdump -d -triple=i386-pc-linux-code16 %t | FileCheck %s
 
 // CHECK:        Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:     7000:       e9 fe 1f        jmp     8190
 //                            0x1 + 0x9000 - 0x7003 == 8190

Modified: lld/trunk/test/ELF/i386-reloc-range.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-reloc-range.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-reloc-range.s (original)
+++ lld/trunk/test/ELF/i386-reloc-range.s Wed May  1 03:40:48 2019
@@ -10,6 +10,7 @@
 // RUN: llvm-objdump -d -triple=i386-pc-linux-code16 %t1 | FileCheck %s
 
 // CHECK:        Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:      200: {{.*}} jmp -1
 //              0x10202 - 0x203 == 0xffff

Modified: lld/trunk/test/ELF/i386-retpoline-nopic-linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-retpoline-nopic-linkerscript.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-retpoline-nopic-linkerscript.s (original)
+++ lld/trunk/test/ELF/i386-retpoline-nopic-linkerscript.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 10:       ff 35 ec 00 00 00       pushl   236
 // CHECK-NEXT: 16:       50      pushl   %eax

Modified: lld/trunk/test/ELF/i386-retpoline-nopic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-retpoline-nopic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-retpoline-nopic.s (original)
+++ lld/trunk/test/ELF/i386-retpoline-nopic.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 401010:       ff 35 04 30 40 00       pushl   4206596
 // CHECK-NEXT: 401016:       50      pushl   %eax

Modified: lld/trunk/test/ELF/i386-retpoline-pic-linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-retpoline-pic-linkerscript.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-retpoline-pic-linkerscript.s (original)
+++ lld/trunk/test/ELF/i386-retpoline-pic-linkerscript.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 10:       ff b3 04 00 00 00       pushl   4(%ebx)
 // CHECK-NEXT: 16:       50      pushl   %eax

Modified: lld/trunk/test/ELF/i386-retpoline-pic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-retpoline-pic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-retpoline-pic.s (original)
+++ lld/trunk/test/ELF/i386-retpoline-pic.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 1010:       ff b3 04 00 00 00       pushl   4(%ebx)
 // CHECK-NEXT: 1016:       50      pushl   %eax

Modified: lld/trunk/test/ELF/i386-tls-ie-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-tls-ie-shared.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-tls-ie-shared.s (original)
+++ lld/trunk/test/ELF/i386-tls-ie-shared.s Wed May  1 03:40:48 2019
@@ -41,6 +41,7 @@
 // GOTRELSHARED:      0x6FFFFFFA RELCOUNT             8
 
 // DISASMSHARED:       Disassembly of section test:
+// DISASMSHARED-EMPTY:
 // DISASMSHARED-NEXT:  _start:
 // (.got)[0] = 0x2060 = 8288
 // (.got)[1] = 0x2064 = 8292

Modified: lld/trunk/test/ELF/linkerscript/excludefile.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/excludefile.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/excludefile.s (original)
+++ lld/trunk/test/ELF/linkerscript/excludefile.s Wed May  1 03:40:48 2019
@@ -10,6 +10,7 @@
 # RUN: llvm-objdump -d %t | FileCheck %s
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK: _start:
 # CHECK-NEXT: :       48 c7 c0 3c 00 00 00    movq    $60, %rax
 # CHECK-NEXT: :       48 c7 c7 2a 00 00 00    movq    $42, %rdi
@@ -30,6 +31,7 @@
 # RUN: llvm-objdump -d %t4 | FileCheck %s --check-prefix=EXCLUDE
 
 # EXCLUDE: Disassembly of section .patatino:
+# EXCLUDE-EMPTY:
 # EXCLUDE: _start:
 # EXCLUDE-NEXT: :       48 c7 c0 3c 00 00 00    movq    $60, %rax
 # EXCLUDE-NEXT: :       48 c7 c7 2a 00 00 00    movq    $42, %rdi
@@ -39,6 +41,7 @@
 # EXCLUDE-NEXT: :       90      nop
 # EXCLUDE-NEXT: :       90      nop
 # EXCLUDE: Disassembly of section .text:
+# EXCLUDE-EMPTY:
 # EXCLUDE: tomato:
 # EXCLUDE-NEXT: :       b8 01 00 00 00  movl    $1, %eax
 

Modified: lld/trunk/test/ELF/linkerscript/non-absolute.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/non-absolute.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/non-absolute.s (original)
+++ lld/trunk/test/ELF/linkerscript/non-absolute.s Wed May  1 03:40:48 2019
@@ -8,6 +8,7 @@
 # B = A + 0x1 = -0x10 + 0x1 = -0xf -> 0xFFFFFFFFFFFFFFF1
 # B - (0x94+6) = -0xf - (0x94+6) = -169
 # DUMP:       Disassembly of section .text:
+# DUMP-EMPTY:
 # DUMP-NEXT:  foo:
 # DUMP-NEXT:   94: {{.*}} -169(%rip), %eax
 

Modified: lld/trunk/test/ELF/local-got-pie.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/local-got-pie.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/local-got-pie.s (original)
+++ lld/trunk/test/ELF/local-got-pie.s Wed May  1 03:40:48 2019
@@ -15,6 +15,7 @@ foo:
 
 // 0x20B0 - 1001 - 5 = 4266
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT:   1000: {{.*}} callq 4267
 // DISASM:      foo:

Modified: lld/trunk/test/ELF/merge.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/merge.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/merge.s (original)
+++ lld/trunk/test/ELF/merge.s Wed May  1 03:40:48 2019
@@ -72,6 +72,7 @@ zed:
         .globl  _start
 _start:
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 
         movl .mysec, %eax

Modified: lld/trunk/test/ELF/mips-26-mask.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-26-mask.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-26-mask.s (original)
+++ lld/trunk/test/ELF/mips-26-mask.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK:      __start:
 # CHECK-NEXT:   20000:       0e 00 80 00     jal     134348800
 

Modified: lld/trunk/test/ELF/mips-26-n32-n64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-26-n32-n64.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-26-n32-n64.s (original)
+++ lld/trunk/test/ELF/mips-26-n32-n64.s Wed May  1 03:40:48 2019
@@ -13,10 +13,13 @@
 
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:       0c 00 80 0c     jal     131120
 # CHECK-NEXT:    20004:       00 00 00 00     nop
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .plt:
 # CHECK-NEXT:    20010:       3c 0e 00 03     lui     $14, 3
 # CHECK-NEXT:    20014:       dd d9 00 08     ld      $25, 8($14)

Modified: lld/trunk/test/ELF/mips-26.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-26.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-26.s (original)
+++ lld/trunk/test/ELF/mips-26.s Wed May  1 03:40:48 2019
@@ -11,6 +11,7 @@
 # RUN:   | FileCheck -check-prefix=REL %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: bar:
 # CHECK-NEXT:   20000:       0c 00 80 06     jal     131096 <loc>
 # CHECK-NEXT:   20004:       00 00 00 00     nop
@@ -24,7 +25,9 @@
 #
 # CHECK:      loc:
 # CHECK-NEXT:   20018:       00 00 00 00     nop
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .plt:
 # CHECK-NEXT:   20020:       3c 1c 00 03     lui     $gp, 3
 # CHECK-NEXT:   20024:       8f 99 00 04     lw      $25, 4($gp)

Modified: lld/trunk/test/ELF/mips-64-gprel-so.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-64-gprel-so.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-64-gprel-so.s (original)
+++ lld/trunk/test/ELF/mips-64-gprel-so.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d -t %t.so | FileCheck %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: foo:
 # CHECK-NEXT:    10000:    3c 1c 00 01    lui     $gp, 1
 # CHECK-NEXT:    10004:    03 99 e0 2d    daddu   $gp, $gp, $25

Modified: lld/trunk/test/ELF/mips-call-hilo.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-call-hilo.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-call-hilo.s (original)
+++ lld/trunk/test/ELF/mips-call-hilo.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 # RUN: llvm-readobj -r --mips-plt-got %t.so | FileCheck -check-prefix=GOT %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: foo:
 # CHECK-NEXT:    10000:       3c 02 00 00     lui     $2, 0
 # CHECK-NEXT:    10004:       8c 42 80 20     lw      $2, -32736($2)

Modified: lld/trunk/test/ELF/mips-call16.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-call16.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-call16.s (original)
+++ lld/trunk/test/ELF/mips-call16.s Wed May  1 03:40:48 2019
@@ -18,6 +18,7 @@ g1:
   nop
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:      10000:   8f 88 80 18   lw   $8, -32744
 

Modified: lld/trunk/test/ELF/mips-got-hilo.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got-hilo.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got-hilo.s (original)
+++ lld/trunk/test/ELF/mips-got-hilo.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 # RUN: llvm-readobj -r --mips-plt-got %t.so | FileCheck -check-prefix=GOT %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: foo:
 # CHECK-NEXT:    10000:       3c 02 00 00     lui     $2, 0
 # CHECK-NEXT:    10004:       8c 42 80 20     lw      $2, -32736($2)

Modified: lld/trunk/test/ELF/mips-got16-relocatable.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got16-relocatable.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got16-relocatable.s (original)
+++ lld/trunk/test/ELF/mips-got16-relocatable.s Wed May  1 03:40:48 2019
@@ -9,6 +9,7 @@
 # RUN: llvm-objdump -d %t.so | FileCheck -check-prefix=SO %s
 
 # OBJ:      Disassembly of section .text:
+# OBJ-EMPTY:
 # OBJ-NEXT: .text:
 # OBJ-NEXT:        0:       8f 99 00 00     lw      $25, 0($gp)
 # OBJ-NEXT:                         00000000:  R_MIPS_GOT16 .data
@@ -20,6 +21,7 @@
 # OBJ-NEXT:                         00000014:  R_MIPS_LO16  .data
 
 # SO:      Disassembly of section .text:
+# SO-EMPTY:
 # SO-NEXT: .text:
 # SO-NEXT:    10000:       8f 99 80 18     lw      $25, -32744($gp)
 # SO-NEXT:    10004:       27 24 00 00     addiu   $4, $25, 0

Modified: lld/trunk/test/ELF/mips-got16.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got16.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got16.s (original)
+++ lld/trunk/test/ELF/mips-got16.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 # RUN: llvm-readobj -r --mips-plt-got %t.so | FileCheck -check-prefix=GOT %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    10000:       8f 88 80 18     lw      $8, -32744($gp)
 # CHECK-NEXT:    10004:       21 08 00 2c     addi    $8, $8, 44

Modified: lld/trunk/test/ELF/mips-gp-disp.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gp-disp.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gp-disp.s (original)
+++ lld/trunk/test/ELF/mips-gp-disp.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@
 # EXT-SO-NEXT: Value: 0x20000
 
 # DIS:      Disassembly of section .text:
+# DIS-EMPTY:
 # DIS-NEXT: __start:
 # DIS-NEXT:    10000:  3c 08 00 01  lui   $8, 1
 # DIS-NEXT:    10004:  21 08 7f f0  addi  $8, $8, 32752

Modified: lld/trunk/test/ELF/mips-gp-local.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gp-local.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-gp-local.s (original)
+++ lld/trunk/test/ELF/mips-gp-local.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-objdump -d -t %t.exe | FileCheck %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:  3c 08 00 03  lui   $8, 3
 # CHECK-NEXT:    20004:  21 08 7f f0  addi  $8, $8, 32752

Modified: lld/trunk/test/ELF/mips-hilo-gp-disp.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-hilo-gp-disp.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-hilo-gp-disp.s (original)
+++ lld/trunk/test/ELF/mips-hilo-gp-disp.s Wed May  1 03:40:48 2019
@@ -20,6 +20,7 @@ bar:
   addi   $t0,$t0,%lo(_gp_disp)
 
 # EXE:      Disassembly of section .text:
+# EXE-EMPTY:
 # EXE-NEXT: __start:
 # EXE-NEXT:  20000:   3c 08 00 02   lui    $8, 2
 #                                              ^-- %hi(0x47ff0-0x20000)
@@ -37,6 +38,7 @@ bar:
 # EXE: 00020000     .text   00000000 __start
 
 # SO:      Disassembly of section .text:
+# SO-EMPTY:
 # SO-NEXT: __start:
 # SO-NEXT:  10000:   3c 08 00 02   lui    $8, 2
 #                                             ^-- %hi(0x28000-0x10000)

Modified: lld/trunk/test/ELF/mips-hilo-hi-only.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-hilo-hi-only.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-hilo-hi-only.s (original)
+++ lld/trunk/test/ELF/mips-hilo-hi-only.s Wed May  1 03:40:48 2019
@@ -16,6 +16,7 @@ _label:
 # WARN: can't find matching R_MIPS_LO16 relocation for R_MIPS_HI16
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:  20000:   3c 08 00 03   lui    $8, 3
 #                                                ^-- %hi(__start) w/o addend

Modified: lld/trunk/test/ELF/mips-hilo.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-hilo.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-hilo.s (original)
+++ lld/trunk/test/ELF/mips-hilo.s Wed May  1 03:40:48 2019
@@ -30,6 +30,7 @@ g1:
   .word 0
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:  20000:   3c 08 00 02   lui    $8, 2
 #                                                ^-- %hi(__start+4)

Modified: lld/trunk/test/ELF/mips-micro-jal.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-micro-jal.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-micro-jal.s (original)
+++ lld/trunk/test/ELF/mips-micro-jal.s Wed May  1 03:40:48 2019
@@ -47,6 +47,7 @@
 # RUN:   | FileCheck --check-prefix=MIXED %s
 
 # EB:      Disassembly of section .plt:
+# EB-EMPTY:
 # EB-NEXT: .plt:
 # EB-NEXT:    20010:       79 80 3f fd     addiupc $3, 65524
 # EB-NEXT:    20014:       ff 23 00 00     lw      $25, 0($3)
@@ -64,6 +65,7 @@
 # EB-NEXT:    2003a:       0f 02           move    $24, $2
 
 # EL:      Disassembly of section .plt:
+# EL-EMPTY:
 # EL-NEXT: .plt:
 # EL-NEXT:    20010:       80 79 fd 3f     addiupc $3, 65524
 # EL-NEXT:    20014:       23 ff 00 00     lw      $25, 0($3)
@@ -81,6 +83,7 @@
 # EL-NEXT:    2003a:       02 0f           move    $24, $2
 
 # EBR6:      Disassembly of section .plt:
+# EBR6-EMPTY:
 # EBR6-NEXT: .plt:
 # EBR6-NEXT:    20010:       78 60 3f fd     lapc    $3, 65524
 # EBR6-NEXT:    20014:       ff 23 00 00     lw      $25, 0($3)
@@ -97,6 +100,7 @@
 # EBR6-NEXT:    2003a:       47 23           jrc16   $25
 
 # ELR6:      Disassembly of section .plt:
+# ELR6-EMPTY:
 # ELR6-NEXT: .plt:
 # ELR6-NEXT:    20010:       60 78 fd 3f     lapc    $3, 65524
 # ELR6-NEXT:    20014:       23 ff 00 00     lw      $25, 0($3)
@@ -113,6 +117,7 @@
 # ELR6-NEXT:    2003a:       23 47           jrc16   $25
 
 # MIXED:      Disassembly of section .plt:
+# MIXED-EMPTY:
 # MIXED-NEXT: .plt:
 # MIXED-NEXT:    20020:       79 80 3f f9     addiupc $3, 65508
 # MIXED-NEXT:    20024:       ff 23 00 00     lw      $25, 0($3)

Modified: lld/trunk/test/ELF/mips-n32-rels.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-n32-rels.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-n32-rels.s (original)
+++ lld/trunk/test/ELF/mips-n32-rels.s Wed May  1 03:40:48 2019
@@ -24,6 +24,7 @@ loc:
   .gpword(loc)                                # R_MIPS_GPREL32
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:  3c 1c 00 01  lui     $gp, 1
 #                                                  ^-- 0x20000 - 0x37ff0

Modified: lld/trunk/test/ELF/mips-npic-call-pic-os.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-npic-call-pic-os.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-npic-call-pic-os.s (original)
+++ lld/trunk/test/ELF/mips-npic-call-pic-os.s Wed May  1 03:40:48 2019
@@ -14,6 +14,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __LA25Thunk_foo1a:
 # CHECK-NEXT:    20000:       3c 19 00 02     lui     $25, 2
 # CHECK-NEXT:    20004:       08 00 80 08     j       131104 <foo1a>
@@ -52,7 +53,9 @@
 
 # CHECK: fnpic:
 # CHECK-NEXT:    20070:       00 00 00 00     nop
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section differentos:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20074:       0c 00 80 00     jal     131072 <__LA25Thunk_foo1a>
 # CHECK-NEXT:    20078:       00 00 00 00     nop
@@ -74,6 +77,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck -check-prefix=REVERSE %s
 
 # REVERSE: Disassembly of section .text:
+# REVERSE-EMPTY:
 # REVERSE-NEXT: __LA25Thunk_foo1a:
 # REVERSE-NEXT:    20000:       3c 19 00 02     lui     $25, 2
 # REVERSE-NEXT:    20004:       08 00 80 08     j       131104 <foo1a>
@@ -114,6 +118,7 @@
 # REVERSE-NEXT:    20070:       00 00 00 00     nop
 
 # REVERSE: Disassembly of section differentos:
+# REVERSE-EMPTY:
 # REVERSE-NEXT: __start:
 # REVERSE-NEXT:    20074:       0c 00 80 00     jal     131072 <__LA25Thunk_foo1a>
 # REVERSE-NEXT:    20078:       00 00 00 00     nop

Modified: lld/trunk/test/ELF/mips-npic-call-pic-script.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-npic-call-pic-script.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-npic-call-pic-script.s (original)
+++ lld/trunk/test/ELF/mips-npic-call-pic-script.s Wed May  1 03:40:48 2019
@@ -14,6 +14,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s
 
 # CHECK: Disassembly of section .out:
+# CHECK-EMPTY:
 # CHECK-NEXT: __LA25Thunk_foo1a:
 # CHECK-NEXT:    20000:       3c 19 00 02     lui     $25, 2
 # CHECK-NEXT:    20004:       08 00 80 08     j       131104 <foo1a>
@@ -84,6 +85,7 @@ __start:
 # RUN: llvm-objdump -d %t2.exe | FileCheck -check-prefix=ORPH1 %s
 
 # ORPH1: Disassembly of section .text:
+# ORPH1-EMPTY:
 # ORPH1-NEXT: __start:
 # ORPH1-NEXT:    20000:       0c 00 80 15     jal     131156 <__LA25Thunk_foo1a>
 # ORPH1-NEXT:    20004:       00 00 00 00     nop
@@ -144,6 +146,7 @@ __start:
 # RUN: llvm-objdump -d %t3.exe | FileCheck -check-prefix=ORPH2 %s
 
 # ORPH2: Disassembly of section .out:
+# ORPH2-EMPTY:
 # ORPH2-NEXT: __start:
 # ORPH2-NEXT:    20000:       0c 00 80 18     jal     131168 <__LA25Thunk_foo1a>
 # ORPH2-NEXT:    20004:       00 00 00 00     nop
@@ -169,7 +172,9 @@ __start:
 
 # ORPH2: fnpic:
 # ORPH2-NEXT:    20050:       00 00 00 00     nop
+# ORPH2-EMPTY:
 # ORPH2-NEXT: Disassembly of section .text:
+# ORPH2-EMPTY:
 
 # ORPH2-NEXT: __LA25Thunk_foo1a:
 # ORPH2-NEXT:    20060:       3c 19 00 02     lui     $25, 2

Modified: lld/trunk/test/ELF/mips-npic-call-pic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-npic-call-pic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-npic-call-pic.s (original)
+++ lld/trunk/test/ELF/mips-npic-call-pic.s Wed May  1 03:40:48 2019
@@ -27,6 +27,7 @@
 # RUN: llvm-objdump -d %t-r6.exe | FileCheck --check-prefixes=CHECK,R6 %s
 
 # CHECK:     Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:       0c 00 80 0c     jal     131120 <__LA25Thunk_foo1a>
 # CHECK-NEXT:    20004:       00 00 00 00     nop
@@ -94,6 +95,7 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck -check-prefixes=REVERSE,REV-R6 %s
 
 # REVERSE: Disassembly of section .text:
+# REVERSE-EMPTY:
 # REVERSE-NEXT: __LA25Thunk_foo1a:
 # REV-R2:          20000:       3c 19 00 02     lui     $25, 2
 # REV-R6:          20000:       3c 19 00 02     aui     $25, $zero, 2

Modified: lld/trunk/test/ELF/mips-pc-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-pc-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-pc-relocs.s (original)
+++ lld/trunk/test/ELF/mips-pc-relocs.s Wed May  1 03:40:48 2019
@@ -22,6 +22,7 @@ __start:
   .word _foo+8-.                    # R_MIPS_PC32
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:       ec c8 00 08     lwpc    $6, 32
 #                                      ^-- (0x20020-0x20000)>>2

Modified: lld/trunk/test/ELF/mips-plt-n32.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-plt-n32.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-plt-n32.s (original)
+++ lld/trunk/test/ELF/mips-plt-n32.s Wed May  1 03:40:48 2019
@@ -14,12 +14,15 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefixes=HAZARDPLT,CHECK
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:   20000:       0c 00 80 0c     jal     131120
 #                                                    ^-- 0x20030 gotplt[foo0]
 # CHECK-NEXT:   20004:       00 00 00 00     nop
 #
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .plt:
 # CHECK-NEXT:   20010:       3c 0e 00 03     lui     $14, 3
 # CHECK-NEXT:   20014:       8d d9 00 04     lw      $25, 4($14)

Modified: lld/trunk/test/ELF/mips-plt-r6.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-plt-r6.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-plt-r6.s (original)
+++ lld/trunk/test/ELF/mips-plt-r6.s Wed May  1 03:40:48 2019
@@ -13,12 +13,15 @@
 # RUN: llvm-objdump -d %t.exe | FileCheck %s --check-prefixes=HAZARDPLT,CHECK
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:   20000:       0c 00 80 0c     jal     131120
 #                                                    ^-- 0x20030 gotplt[foo0]
 # CHECK-NEXT:   20004:       00 00 00 00     nop
 #
+# CHECK-EMPTY:
 # CHECK-NEXT: Disassembly of section .plt:
+# CHECK-EMPTY:
 # CHECK-NEXT: .plt:
 # CHECK-NEXT:   20010:       3c 1c 00 03     aui     $gp, $zero, 3
 # CHECK-NEXT:   20014:       8f 99 00 04     lw      $25, 4($gp)

Modified: lld/trunk/test/ELF/mips-xgot-order.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-xgot-order.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-xgot-order.s (original)
+++ lld/trunk/test/ELF/mips-xgot-order.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 # RUN: llvm-objdump -d -s -t %t.exe | FileCheck %s
 
 # CHECK:      Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: __start:
 # CHECK-NEXT:    20000:       3c 02 00 00     lui     $2, 0
 # CHECK-NEXT:    20004:       8c 42 80 24     lw      $2, -32732($2)

Modified: lld/trunk/test/ELF/msp430.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/msp430.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/msp430.s (original)
+++ lld/trunk/test/ELF/msp430.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@ foo:
   jmp _start
 
 ; CHECK:      Disassembly of section .text:
+; CHECK-EMPTY:
 ; CHECK-NEXT: _start:
 ; CHECK-NEXT: 8000: {{.*}} nop
 ; CHECK:      foo:

Modified: lld/trunk/test/ELF/no-inhibit-exec.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-inhibit-exec.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-inhibit-exec.s (original)
+++ lld/trunk/test/ELF/no-inhibit-exec.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 # RUN: llvm-readobj -r %t2 | FileCheck %s --check-prefix=RELOC
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: _start
 # CHECK-NEXT: 201000: {{.*}} callq -2101253
 

Modified: lld/trunk/test/ELF/non-abs-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/non-abs-reloc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/non-abs-reloc.s (original)
+++ lld/trunk/test/ELF/non-abs-reloc.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 
 // RUN: llvm-objdump -D %t | FileCheck --check-prefix=DISASM %s
 // DISASM:      Disassembly of section .nonalloc:
+// DISASM-EMPTY:
 // DISASM-NEXT: .nonalloc:
 // DISASM-NEXT: 0: {{.*}}  callq {{.*}} <_start>
 // DISASM-NEXT: 5: {{.*}}  callq {{.*}} <_start>

Modified: lld/trunk/test/ELF/non-alloc-link-order-gc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/non-alloc-link-order-gc.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/non-alloc-link-order-gc.s (original)
+++ lld/trunk/test/ELF/non-alloc-link-order-gc.s Wed May  1 03:40:48 2019
@@ -6,6 +6,7 @@
 ## Check that we are able to GC non-allocatable metadata sections without crash.
 
 # CHECK:      Disassembly of section .stack_sizes:
+# CHECK-EMPTY:
 # CHECK-NEXT:   .stack_sizes:
 # CHECK-NEXT:    01
 

Modified: lld/trunk/test/ELF/plt-aarch64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/plt-aarch64.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/plt-aarch64.s (original)
+++ lld/trunk/test/ELF/plt-aarch64.s Wed May  1 03:40:48 2019
@@ -70,6 +70,7 @@
 // DISASMDSO-NEXT:     1000c:	1f 20 03 d5 	nop
 
 // DISASMDSO: Disassembly of section .plt:
+// DISASMDSO-EMPTY:
 // DISASMDSO-NEXT: .plt:
 // DISASMDSO-NEXT:     10010:	f0 7b bf a9 	stp	x16, x30, [sp, #-16]!
 // &(.got.plt[2]) = 0x3000 + 2 * 8 = 0x3010
@@ -169,6 +170,7 @@
 // DISASMEXE-NEXT:    21000c:	1f 20 03 d5 	nop
 
 // DISASMEXE: Disassembly of section .plt:
+// DISASMEXE-EMPTY:
 // DISASMEXE-NEXT: .plt:
 // DISASMEXE-NEXT:    210010:	f0 7b bf a9 	stp	x16, x30, [sp, #-16]!
 // &(.got.plt[2]) = 0x2200B0 + 2 * 8 = 0x2200C0

Modified: lld/trunk/test/ELF/plt-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/plt-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/plt-i686.s (original)
+++ lld/trunk/test/ELF/plt-i686.s Wed May  1 03:40:48 2019
@@ -72,6 +72,7 @@
 // 4206604 = 0x40300C = .got.plt (0x403000) + got.plt.reserved(12)
 // 4206608 = 0x403010 = .got.plt (0x403000) + got.plt.reserved(12) + 4
 // DISASM:      Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:    401020: ff 35 04 30 40 00 pushl 4206596
 // DISASM-NEXT:    401026: ff 25 08 30 40 00 jmpl *4206600
@@ -137,7 +138,9 @@
 // DISASMSHARED-NEXT:  1009: e9 22 00 00 00 jmp 34
 // DISASMSHARED-NEXT:  100e: e9 2d 00 00 00 jmp 45
 // DISASMSHARED-NEXT:  1013: e9 e8 ff ff ff jmp -24
+// DISASMSHARED-EMPTY:
 // DISASMSHARED-NEXT:  Disassembly of section .plt:
+// DISASMSHARED-EMPTY:
 // DISASMSHARED-NEXT:  .plt:
 // DISASMSHARED-NEXT:  1020: ff b3 04 00 00 00 pushl 4(%ebx)
 // DISASMSHARED-NEXT:  1026: ff a3 08 00 00 00 jmpl *8(%ebx)
@@ -155,6 +158,7 @@
 // DISASMSHARED-NEXT:  104b: e9 d0 ff ff ff     jmp -48 <.plt>
 
 // DISASMPIE:      Disassembly of section .plt:
+// DISASMPIE-EMPTY:
 // DISASMPIE-NEXT: .plt:
 // DISASMPIE-NEXT:   1020:	ff b3 04 00 00 00 pushl 4(%ebx)
 // DISASMPIE-NEXT:   1026:	ff a3 08 00 00 00 jmpl *8(%ebx)

Modified: lld/trunk/test/ELF/plt.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/plt.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/plt.s (original)
+++ lld/trunk/test/ELF/plt.s Wed May  1 03:40:48 2019
@@ -69,6 +69,7 @@
 // 0x3028 - 0x1056  = 8146
 
 // DISASM:      Disassembly of section .plt:
+// DISASM-EMPTY:
 // DISASM-NEXT: .plt:
 // DISASM-NEXT:   1020:  ff 35 e2 1f 00 00  pushq 8162(%rip)
 // DISASM-NEXT:   1026:  ff 25 e4 1f 00 00  jmpq *8164(%rip)
@@ -104,6 +105,7 @@
 // 0x202020 - 0x201046  = 4058
 
 // DISASM2:      Disassembly of section .plt:
+// DISASM2-EMPTY:
 // DISASM2-NEXT: .plt:
 // DISASM2-NEXT:  201020:  ff 35 e2 1f 00 00   pushq 8162(%rip)
 // DISASM2-NEXT:  201026:  ff 25 e4 1f 00 00   jmpq *8164(%rip)

Modified: lld/trunk/test/ELF/ppc-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc-relocs.s (original)
+++ lld/trunk/test/ELF/ppc-relocs.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@ msg:
   len = . - msg
 
 # CHECK: Disassembly of section .R_PPC_ADDR16_HA:
+# CHECK-EMPTY:
 # CHECK: _start:
 # CHECK:    11000:       lis 4, 1
 # CHECK: msg:
@@ -27,6 +28,7 @@ msgi:
   leni = . - msgi
 
 # CHECK: Disassembly of section .R_PPC_ADDR16_HI:
+# CHECK-EMPTY:
 # CHECK: _starti:
 # CHECK:    11008:       lis 4, 1
 # CHECK: msgi:
@@ -39,6 +41,7 @@ mystr:
   len = . - mystr
 
 # CHECK: Disassembly of section .R_PPC_ADDR16_LO:
+# CHECK-EMPTY:
 # CHECK: .R_PPC_ADDR16_LO:
 # CHECK:    11010:       addi 4, 4, 4100
 # CHECK: mystr:
@@ -53,6 +56,7 @@ mystr:
 .Lfoox:
 
 # CHECK: Disassembly of section .R_PPC_REL24:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC_REL24:
 # CHECK:    1101c:       b .+4
 
@@ -64,6 +68,7 @@ mystr:
 .Lfooy:
 
 # CHECK: Disassembly of section .R_PPC_REL14:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC_REL14:
 # CHECK:    11020:       bt 2, .+4
 
@@ -96,5 +101,6 @@ mystr:
 .Lfoox4:
 
 # CHECK: Disassembly of section .R_PPC_PLTREL24:
+# CHECK-EMPTY:
 # CHECK: .R_PPC_PLTREL24:
 # CHECK:    1102c:       b .+4

Modified: lld/trunk/test/ELF/ppc64-got-indirect.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-got-indirect.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-got-indirect.s (original)
+++ lld/trunk/test/ELF/ppc64-got-indirect.s Wed May  1 03:40:48 2019
@@ -88,28 +88,34 @@ glob:
 # CHECK: 1001001c:  {{.*}}   lwa 3, 0(3)
 
 # CHECK-LE: Disassembly of section .got:
+# CHECK-LE-EMPTY:
 # CHECK-LE-NEXT: .got:
 # CHECK-LE-NEXT: 10020000:       00 80 02 10
 # CHECK-LE-NEXT: 10020004:       00 00 00 00
 
 # Verify that .toc comes right after .got
 # CHECK-LE: Disassembly of section .toc:
+# CHECK-LE-EMPTY:
 # CHECK-LE: 10020008:       00 00 03 10
 
 # CHECK-LE: Disassembly of section .data:
+# CHECK-LE-EMPTY:
 # CHECK-LE-NEXT: glob:
 # CHECK-LE-NEXT: 10030000:       37 00 00 00
 
 # CHECK-BE: Disassembly of section .got:
+# CHECK-BE-EMPTY:
 # CHECK-BE-NEXT: .got:
 # CHECK-BE-NEXT: 10020000:       00 00 00 00
 # CHECK-BE-NEXT: 10020004:       10 02 80 00
 
 # Verify that .toc comes right after .got
 # CHECK-BE: Disassembly of section .toc:
+# CHECK-BE-EMPTY:
 # CHECK-BE: 10020008:       00 00 00 00
 # CHECK-BE: 1002000c:       10 03 00 00
 
 # CHECK-BE: Disassembly of section .data:
+# CHECK-BE-EMPTY:
 # CHECK-BE-NEXT: glob:
 # CHECK-BE-NEXT: 10030000:       00 00 00 37

Modified: lld/trunk/test/ELF/ppc64-plt-stub.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-plt-stub.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-plt-stub.s (original)
+++ lld/trunk/test/ELF/ppc64-plt-stub.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 // RUN: llvm-objdump -d %t | FileCheck %s
 
 // CHECK:      Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: __plt_foo:
 // CHECK-NEXT:      std 2, 24(1)
 // CHECK-NEXT:      addis 12, 2, 0

Modified: lld/trunk/test/ELF/ppc64-rel-calls.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-rel-calls.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-rel-calls.s (original)
+++ lld/trunk/test/ELF/ppc64-rel-calls.s Wed May  1 03:40:48 2019
@@ -9,6 +9,7 @@
 # RUN: llvm-objdump -d %t2 | FileCheck %s
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 
 .text
 .global _start

Modified: lld/trunk/test/ELF/ppc64-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-relocs.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-relocs.s (original)
+++ lld/trunk/test/ELF/ppc64-relocs.s Wed May  1 03:40:48 2019
@@ -35,6 +35,7 @@ _start:
   ld 1, .L1 at toc@l(2)
 
 # CHECK: Disassembly of section .R_PPC64_TOC16_LO_DS:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_TOC16_LO_DS:
 # CHECK: 1001000c:       ld 1, -32768(2)
 
@@ -44,6 +45,7 @@ _start:
   addi  1, 2, .L1 at toc@l
 
 # CHECK: Disassembly of section .R_PPC64_TOC16_LO:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_TOC16_LO:
 # CHECK: 10010010:       addi 1, 2, -32768
 
@@ -53,6 +55,7 @@ _start:
   addis 1, 2, .L1 at toc@h
 
 # CHECK: Disassembly of section .R_PPC64_TOC16_HI:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_TOC16_HI:
 # CHECK: 10010014:       addis 1, 2, -1
 
@@ -62,6 +65,7 @@ _start:
   addis 1, 2, .L1 at toc@ha
 
 # CHECK: Disassembly of section .R_PPC64_TOC16_HA:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_TOC16_HA:
 # CHECK: 10010018:       nop
 
@@ -73,6 +77,7 @@ _start:
 .Lfoox:
 
 # CHECK: Disassembly of section .R_PPC64_REL24:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_REL24:
 # CHECK: 1001001c:       b .+4
 
@@ -84,6 +89,7 @@ _start:
 .Lfooy:
 
 # CHECK: Disassembly of section .R_PPC64_REL14:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_REL14:
 # CHECK: 10010020:       bt 2, .+4
 
@@ -93,6 +99,7 @@ _start:
   li 1, .Lfoo at l
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_LO:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_LO:
 # CHECK: 10010024:       li 1, 0
 
@@ -102,6 +109,7 @@ _start:
   li 1, .Lfoo at h
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HI:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HI:
 # CHECK: 10010028:       li 1, 4097
 
@@ -111,6 +119,7 @@ _start:
   li 1, .Lfoo at ha
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HA:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HA:
 # CHECK: 1001002c:       li 1, 4097
 
@@ -120,6 +129,7 @@ _start:
   li 1, .Lfoo at higher
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HIGHER:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HIGHER:
 # CHECK: 10010030:       li 1, 0
 
@@ -129,6 +139,7 @@ _start:
   li 1, .Lfoo at highera
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HIGHERA:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HIGHERA:
 # CHECK: 10010034:       li 1, 0
 
@@ -138,6 +149,7 @@ _start:
   li 1, .Lfoo at highest
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HIGHEST:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HIGHEST:
 # CHECK: 10010038:       li 1, 0
 
@@ -147,6 +159,7 @@ _start:
   li 1, .Lfoo at highesta
 
 # CHECK: Disassembly of section .R_PPC64_ADDR16_HIGHESTA:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_ADDR16_HIGHESTA:
 # CHECK: 1001003c:       li 1, 0
 
@@ -168,6 +181,7 @@ _start:
 # should equal address of LBB0_2.
 # 0x10000190 + 0xfeb4 = 0x10010044
 # CHECK: Disassembly of section .R_PPC64_REL32:
+# CHECK-EMPTY:
 # CHECK: .FR_PPC64_REL32:
 # CHECK: 10010040:       nop
 # CHECK: 10010044:       ld 5, -32736(2)

Modified: lld/trunk/test/ELF/ppc64-toc-restore.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-toc-restore.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-toc-restore.s (original)
+++ lld/trunk/test/ELF/ppc64-toc-restore.s Wed May  1 03:40:48 2019
@@ -31,6 +31,7 @@ _start:
 
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK: _start:
 // CHECK:     1001001c:       bl .-28
 // CHECK-NOT: 10010020:       nop

Modified: lld/trunk/test/ELF/ppc64-weak-undef-call.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-weak-undef-call.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-weak-undef-call.s (original)
+++ lld/trunk/test/ELF/ppc64-weak-undef-call.s Wed May  1 03:40:48 2019
@@ -9,6 +9,7 @@
 # RUN: llvm-objdump -d --no-show-raw-insn %t2 | FileCheck %s
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 
 .text
 .global _start

Modified: lld/trunk/test/ELF/pr34660.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/pr34660.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/pr34660.s (original)
+++ lld/trunk/test/ELF/pr34660.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 # correct symbol.
 
 # DISASM: Disassembly of section .text:
+# DISASM-EMPTY:
 # DISASM-NEXT: $x.0:
 # DISASM-NEXT:   10000:       28 00 10 58     ldr     x8, #131076
 

Modified: lld/trunk/test/ELF/pre_init_fini_array_missing.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/pre_init_fini_array_missing.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/pre_init_fini_array_missing.s (original)
+++ lld/trunk/test/ELF/pre_init_fini_array_missing.s Wed May  1 03:40:48 2019
@@ -20,6 +20,7 @@ _start:
 // ...
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT:  _start:
 // CHECK-NEXT:   201000:    e8 fb ff ff ff     callq    -5
 // CHECK-NEXT:   201005:    e8 f6 ff ff ff     callq    -10
@@ -31,6 +32,7 @@ _start:
 // In position-independent binaries, they resolve to .text too.
 
 // PIE:      Disassembly of section .text:
+// PIE-EMPTY:
 // PIE-NEXT: _start:
 // PIE-NEXT:     1000:  e8 fb ff ff ff  callq   -5
 // PIE-NEXT:     1005:  e8 f6 ff ff ff  callq   -10

Modified: lld/trunk/test/ELF/relocatable-symbols.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-symbols.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-symbols.s (original)
+++ lld/trunk/test/ELF/relocatable-symbols.s Wed May  1 03:40:48 2019
@@ -18,12 +18,16 @@
 # DISASM-NEXT:  2d: {{.*}} callq 0
 # DISASM-NEXT:  32: {{.*}} callq 0
 # DISASM-NEXT:  37: {{.*}} callq 0
+# DISASM-EMPTY:
 # DISASM-NEXT: Disassembly of section foo:
+# DISASM-EMPTY:
 # DISASM-NEXT: foo:
 # DISASM-NEXT:  0: 90 nop
 # DISASM-NEXT:  1: 90 nop
 # DISASM-NEXT:  2: 90 nop
+# DISASM-EMPTY:
 # DISASM-NEXT: Disassembly of section bar:
+# DISASM-EMPTY:
 # DISASM-NEXT: bar:
 # DISASM-NEXT:  0: 90 nop
 # DISASM-NEXT:  1: 90 nop

Modified: lld/trunk/test/ELF/relocatable.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable.s (original)
+++ lld/trunk/test/ELF/relocatable.s Wed May  1 03:40:48 2019
@@ -64,6 +64,7 @@
 # SECTION:   7 .strtab       0000002d 0000000000000000
 
 # CHECKTEXT:      Disassembly of section .text:
+# CHECKTEXT-EMPTY:
 # CHECKTEXT-NEXT: main:
 # CHECKTEXT-NEXT: 0: c7 04 25 00 00 00 00 05 00 00 00 movl $5, 0
 # CHECKTEXT-NEXT: b: c7 04 25 00 00 00 00 07 00 00 00 movl $7, 0

Modified: lld/trunk/test/ELF/relocation-b-aarch64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-b-aarch64.test?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-b-aarch64.test (original)
+++ lld/trunk/test/ELF/relocation-b-aarch64.test Wed May  1 03:40:48 2019
@@ -8,6 +8,7 @@
 # immediate. We use this property to overwrite instructions with a branch.
 
 # CHECK: Disassembly of section .text:
+# CHECK-EMPTY:
 # CHECK-NEXT: foo:
 # CHECK-NEXT:    210000:        01 00 00 14     b       #4
 # CHECK: bar:

Modified: lld/trunk/test/ELF/relocation-copy-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-copy-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-copy-i686.s (original)
+++ lld/trunk/test/ELF/relocation-copy-i686.s Wed May  1 03:40:48 2019
@@ -57,6 +57,7 @@ movl $9, z
 // 4206608 =  0x403000 + 16
 // 4206612 =  0x403000 + 16 + 4
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: main:
 // CODE-NEXT: 401000: c7 05 00 30 40 00 05 00 00 00 movl $5, 4206592
 // CODE-NEXT: 40100a: c7 05 10 30 40 00 07 00 00 00 movl $7, 4206608

Modified: lld/trunk/test/ELF/relocation-copy.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-copy.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-copy.s (original)
+++ lld/trunk/test/ELF/relocation-copy.s Wed May  1 03:40:48 2019
@@ -58,6 +58,7 @@ movl $z, %edx
 // 2109456 = 0x203000 + 16
 // 2109460 = 0x203000 + 16 + 4
 // CODE: Disassembly of section .text:
+// CODE-EMPTY:
 // CODE-NEXT: _start:
 // CODE-NEXT: 201000: {{.*}} movl $5, 2109440
 // CODE-NEXT: 20100b: {{.*}} movl $7, 2109456

Modified: lld/trunk/test/ELF/relocation-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-i686.s (original)
+++ lld/trunk/test/ELF/relocation-i686.s Wed May  1 03:40:48 2019
@@ -26,10 +26,12 @@ R_386_PC32_2:
   nop
 
 // CHECK: Disassembly of section .R_386_32:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_386_32:
 // CHECK-NEXT:  401000: {{.*}} movl $4198401, %edx
 
 // CHECK: Disassembly of section .R_386_PC32:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_386_PC32:
 // CHECK-NEXT:   401005:  e8 04 00 00 00  calll 4
 
@@ -66,6 +68,7 @@ R_386_GOTPC:
 // 0x403000 (.got.plt) - 0x401014 = 8300
 
 // CHECK:      Disassembly of section .R_386_GOTPC:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_386_GOTPC:
 // CHECK-NEXT:   401014:  {{.*}} movl  $8172, %eax
 
@@ -73,6 +76,7 @@ R_386_GOTPC:
  call bar
 // addr(.plt) + 16 - (0x401019 + 5) = 50
 // CHECK:      Disassembly of section .dynamic_reloc:
+// CHECK-EMPTY:
 // CHECK-NEXT: .dynamic_reloc:
 // CHECK-NEXT:   401019:  e8 32 00 00 00 calll 50
 
@@ -87,6 +91,7 @@ R_386_GOT32:
 // 4294963320 = 0xfffff078 = got[0](0x402078) - .got.plt(0x403000)
 // 4294963324 = 0xfffff07c = got[1](0x40207c) - .got(0x403000)
 // CHECK:      Disassembly of section .R_386_GOT32:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_386_GOT32:
 // CHECK-NEXT: 40101e: a1 78 f0 ff ff movl 4294963320, %eax
 // CHECK-NEXT: 401023: a1 7c f0 ff ff movl 4294963324, %eax

Modified: lld/trunk/test/ELF/relocation-local.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-local.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-local.s (original)
+++ lld/trunk/test/ELF/relocation-local.s Wed May  1 03:40:48 2019
@@ -19,6 +19,7 @@ R_X86_64_32:
 // FIXME: this would be far more self evident if llvm-objdump printed
 // constants in hex.
 // CHECK: Disassembly of section .text2:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_32:
 // CHECK-NEXT:  201009: {{.*}} movl $2101257, %edx
 
@@ -27,6 +28,7 @@ R_X86_64_32S:
   movq lulz - 0x100000, %rdx
 
 // CHECK: Disassembly of section .R_X86_64_32S:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_32S:
 // CHECK-NEXT:  {{.*}}: {{.*}} movq 1052681, %rdx
 

Modified: lld/trunk/test/ELF/relocation-size-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-size-shared.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-size-shared.s (original)
+++ lld/trunk/test/ELF/relocation-size-shared.s Wed May  1 03:40:48 2019
@@ -18,6 +18,7 @@
 // RELOCSHARED-NEXT:]
 
 // DISASM:      Disassembly of section test
+// DISASM-EMPTY:
 // DISASM:      _data:
 // DISASM-NEXT: 201000: 19 00
 // DISASM-NEXT: 201002: 00 00

Modified: lld/trunk/test/ELF/relocation-size.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-size.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-size.s (original)
+++ lld/trunk/test/ELF/relocation-size.s Wed May  1 03:40:48 2019
@@ -11,6 +11,7 @@
 // NORELOC-NEXT: ]
 
 // DISASM:      Disassembly of section test:
+// DISASM-EMPTY:
 // DISASM-NEXT: _data:
 // DISASM-NEXT: 201000: 19 00
 // DISASM-NEXT: 201002: 00 00
@@ -56,6 +57,7 @@
 // RELOCSHARED-NEXT: ]
 
 // DISASMSHARED:      Disassembly of section test:
+// DISASMSHARED-EMPTY:
 // DISASMSHARED-NEXT: _data:
 // DISASMSHARED-NEXT: ...
 // DISASMSHARED-NEXT: 1018: 19 00

Modified: lld/trunk/test/ELF/relocation.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation.s (original)
+++ lld/trunk/test/ELF/relocation.s Wed May  1 03:40:48 2019
@@ -58,6 +58,7 @@ lulz:
   nop
 
 // CHECK: Disassembly of section .text:
+// CHECK-EMPTY:
 // CHECK-NEXT: _start:
 // CHECK-NEXT:   201000:  e8 04 00 00 00   callq 4
 // CHECK-NEXT:   201005:
@@ -74,6 +75,7 @@ R_X86_64_32:
 // FIXME: this would be far more self evident if llvm-objdump printed
 // constants in hex.
 // CHECK: Disassembly of section .text2:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_32:
 // CHECK-NEXT:  20100a: {{.*}} movl $2101258, %edx
 
@@ -83,6 +85,7 @@ R_X86_64_32S:
   movq lulz - 0x100000, %rdx
 
 // CHECK: Disassembly of section .R_X86_64_32S:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_32S:
 // CHECK-NEXT:  {{.*}}: {{.*}} movq 1052681, %rdx
 
@@ -94,6 +97,7 @@ R_X86_64_PC32:
 //16 is a size of PLT[0]
 // 0x201030 + 16 - (0x201017 + 5) = 20
 // CHECK:      Disassembly of section .R_X86_64_PC32:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_PC32:
 // CHECK-NEXT:  201017:   {{.*}}  callq  36
 // CHECK-NEXT:  20101c:   {{.*}}  movl $2101312, %eax
@@ -104,6 +108,7 @@ R_X86_64_32S_2:
   mov bar2, %eax
 // plt is  at 0x201030. The second plt entry is at 0x201050 == 69712
 // CHECK:      Disassembly of section .R_X86_64_32S_2:
+// CHECK-EMPTY:
 // CHECK-NEXT: R_X86_64_32S_2:
 // CHECK-NEXT: 201021: {{.*}}  movl    2101328, %eax
 

Modified: lld/trunk/test/ELF/startstop-gccollect.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/startstop-gccollect.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/startstop-gccollect.s (original)
+++ lld/trunk/test/ELF/startstop-gccollect.s Wed May  1 03:40:48 2019
@@ -20,10 +20,14 @@
 # DISASM:      _start:
 # DISASM-NEXT: 201000:        e8 05 00 00 00  callq   5 <__start_foo>
 # DISASM-NEXT: 201005:        e8 02 00 00 00  callq   2 <__stop_bar>
+# DISASM-EMPTY:
 # DISASM-NEXT: Disassembly of section foo:
+# DISASM-EMPTY:
 # DISASM-NEXT: __start_foo:
 # DISASM-NEXT: 20100a:        90      nop
+# DISASM-EMPTY:
 # DISASM-NEXT: Disassembly of section bar:
+# DISASM-EMPTY:
 # DISASM-NEXT: bar:
 # DISASM-NEXT: 20100b:        90      nop
 

Modified: lld/trunk/test/ELF/startstop.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/startstop.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/startstop.s (original)
+++ lld/trunk/test/ELF/startstop.s Wed May  1 03:40:48 2019
@@ -9,11 +9,13 @@
 // DISASM:    1005:       {{.*}}  callq   8
 // DISASM:    100a:       {{.*}}  callq   3
 // DISASM: Disassembly of section foo:
+// DISASM-EMPTY:
 // DISASM: __start_foo:
 // DISASM:    100f:       90      nop
 // DISASM:    1010:       90      nop
 // DISASM:    1011:       90      nop
 // DISASM: Disassembly of section bar:
+// DISASM-EMPTY:
 // DISASM: __start_bar:
 // DISASM:    1012:       90      nop
 // DISASM:    1013:       90      nop

Modified: lld/trunk/test/ELF/tls-dynamic-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-dynamic-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-dynamic-i686.s (original)
+++ lld/trunk/test/ELF/tls-dynamic-i686.s Wed May  1 03:40:48 2019
@@ -76,6 +76,7 @@ addl tls1 at gotntpoff(%ebx),%eax
 // CHECK-NEXT: }
 
 // DIS:      Disassembly of section .text:
+// DIS-EMPTY:
 // DIS-NEXT: _start:
 // General dynamic model:
 // -32 and -24 are first and second GOT entries offsets.

Modified: lld/trunk/test/ELF/tls-dynamic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-dynamic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-dynamic.s (original)
+++ lld/trunk/test/ELF/tls-dynamic.s Wed May  1 03:40:48 2019
@@ -66,6 +66,7 @@ c:
 // 4279 = (0x2100 + -4) - (0x1042 + 3) // PC relative offset to got entry.
 
 // DIS:      Disassembly of section .text:
+// DIS-EMPTY:
 // DIS-NEXT: .text:
 // DIS-NEXT:     1000: {{.+}} leaq    4313(%rip), %rdi
 // DIS-NEXT:     1007: {{.+}} callq

Modified: lld/trunk/test/ELF/tls-got.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-got.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-got.s (original)
+++ lld/trunk/test/ELF/tls-got.s Wed May  1 03:40:48 2019
@@ -30,18 +30,19 @@
 // CHECK-NEXT:   }
 // CHECK-NEXT: ]
 
-//0x201000 + 4281 + 7 = 0x2020C0
-//0x20100A + 4279 + 7 = 0x2020C8
-//0x201014 + 4269 + 7 = 0x2020C8
-//DISASM:      Disassembly of section .text:
-//DISASM-NEXT: main:
-//DISASM-NEXT: 201000: {{.*}} movq 4281(%rip), %rax
-//DISASM-NEXT: 201007: {{.*}} movl %fs:(%rax), %eax
-//DISASM-NEXT: 20100a: {{.*}} movq 4279(%rip), %rax
-//DISASM-NEXT: 201011: {{.*}} movl %fs:(%rax), %eax
-//DISASM-NEXT: 201014: {{.*}} movq 4269(%rip), %rax
-//DISASM-NEXT: 20101b: {{.*}} movl %fs:(%rax), %eax
-//DISASM-NEXT: 20101e: {{.*}} retq
+// 0x201000 + 4281 + 7 = 0x2020C0
+// 0x20100A + 4279 + 7 = 0x2020C8
+// 0x201014 + 4269 + 7 = 0x2020C8
+// DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
+// DISASM-NEXT: main:
+// DISASM-NEXT: 201000: {{.*}} movq 4281(%rip), %rax
+// DISASM-NEXT: 201007: {{.*}} movl %fs:(%rax), %eax
+// DISASM-NEXT: 20100a: {{.*}} movq 4279(%rip), %rax
+// DISASM-NEXT: 201011: {{.*}} movl %fs:(%rax), %eax
+// DISASM-NEXT: 201014: {{.*}} movq 4269(%rip), %rax
+// DISASM-NEXT: 20101b: {{.*}} movl %fs:(%rax), %eax
+// DISASM-NEXT: 20101e: {{.*}} retq
 
 .section .tdata,"awT", at progbits
 

Modified: lld/trunk/test/ELF/tls-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-i686.s (original)
+++ lld/trunk/test/ELF/tls-i686.s Wed May  1 03:40:48 2019
@@ -31,6 +31,7 @@ _start:
  leal var1 at ntpoff+123(%ecx), %eax
 
 // DIS:      Disassembly of section test:
+// DIS-EMPTY:
 // DIS-NEXT: _start:
 // DIS-NEXT: 401000: ba 08 00 00 00       movl $8, %edx
 // DIS-NEXT: 401005: 65 8b 0d 00 00 00 00 movl %gs:0, %ecx
@@ -47,6 +48,7 @@ _start:
 // RELOC-NEXT: ]
 
 // DISSHARED: Disassembly of section test:
+// DISSHARED-EMPTY:
 // DISSHARED-NEXT: _start:
 // DISSHARED-NEXT: 1000: ba 00 00 00 00 movl   $0, %edx
 // DISSHARED-NEXT: 1005: 65 8b 0d 00 00 00 00  movl %gs:0, %ecx

Modified: lld/trunk/test/ELF/tls-initial-exec-local.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-initial-exec-local.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-initial-exec-local.s (original)
+++ lld/trunk/test/ELF/tls-initial-exec-local.s Wed May  1 03:40:48 2019
@@ -22,6 +22,7 @@
 // 0x1007 + 4249 = 0x20A0
 // 0x100e + 4250 = 0x20A8
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: .text:
 // DISASM-NEXT:  1000: {{.*}} addq 4249(%rip), %rax
 // DISASM-NEXT:  1007: {{.*}} addq 4250(%rip), %rax

Modified: lld/trunk/test/ELF/tls-opt-gdie.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-opt-gdie.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-opt-gdie.s (original)
+++ lld/trunk/test/ELF/tls-opt-gdie.s Wed May  1 03:40:48 2019
@@ -32,6 +32,7 @@
 //0x201009 + (4256 + 7) = 0x2020B0
 //0x201019 + (4248 + 7) = 0x2020B8
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT: 201000: {{.*}} movq %fs:0, %rax
 // DISASM-NEXT: 201009: {{.*}} addq 4256(%rip), %rax

Modified: lld/trunk/test/ELF/tls-opt-gdiele-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-opt-gdiele-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-opt-gdiele-i686.s (original)
+++ lld/trunk/test/ELF/tls-opt-gdiele-i686.s Wed May  1 03:40:48 2019
@@ -14,6 +14,7 @@
 // NORELOC-NEXT: ]
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT: 401000: 65 a1 00 00 00 00 movl %gs:0, %eax
 // DISASM-NEXT: 401006: 03 83 58 f0 ff ff addl -4008(%ebx), %eax

Modified: lld/trunk/test/ELF/tls-opt-i686.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-opt-i686.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-opt-i686.s (original)
+++ lld/trunk/test/ELF/tls-opt-i686.s Wed May  1 03:40:48 2019
@@ -8,6 +8,7 @@
 // NORELOC-NEXT: ]
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // LD -> LE:
 // DISASM-NEXT: 401000: 65 a1 00 00 00 00 movl %gs:0, %eax

Modified: lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s (original)
+++ lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s Wed May  1 03:40:48 2019
@@ -30,6 +30,7 @@
 // GOTREL-NEXT: ]
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // 4294967288 = 0xFFFFFFF8
 // 4294967292 = 0xFFFFFFFC

Modified: lld/trunk/test/ELF/tls-opt-local.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls-opt-local.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls-opt-local.s (original)
+++ lld/trunk/test/ELF/tls-opt-local.s Wed May  1 03:40:48 2019
@@ -8,6 +8,7 @@
 // NORELOC-NEXT: ]
 
 // DISASM:      Disassembly of section .text:
+// DISASM-EMPTY:
 // DISASM-NEXT: _start:
 // DISASM-NEXT: 201000: 48 c7 c0 f8 ff ff ff movq $-8, %rax
 // DISASM-NEXT: 201007: 49 c7 c7 f8 ff ff ff movq $-8, %r15

Modified: lld/trunk/test/ELF/tls.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/tls.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/tls.s (original)
+++ lld/trunk/test/ELF/tls.s Wed May  1 03:40:48 2019
@@ -163,6 +163,7 @@ d:
 // CHECK-NEXT:   }
 
 // DIS:      Disassembly of section .text:
+// DIS-EMPTY:
 // DIS-NEXT: _start:
 // DIS-NEXT:    201000: {{.+}} movl    %fs:-8, %eax
 // DIS-NEXT:    201008: {{.+}} movl    %fs:-16, %eax

Modified: lld/trunk/test/ELF/x86-64-retpoline-linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/x86-64-retpoline-linkerscript.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/x86-64-retpoline-linkerscript.s (original)
+++ lld/trunk/test/ELF/x86-64-retpoline-linkerscript.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 10:       ff 35 32 01 00 00       pushq   306(%rip)
 // CHECK-NEXT: 16:       4c 8b 1d 33 01 00 00    movq    307(%rip), %r11

Modified: lld/trunk/test/ELF/x86-64-retpoline-znow-linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/x86-64-retpoline-znow-linkerscript.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/x86-64-retpoline-znow-linkerscript.s (original)
+++ lld/trunk/test/ELF/x86-64-retpoline-znow-linkerscript.s Wed May  1 03:40:48 2019
@@ -13,6 +13,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 10:	e8 0b 00 00 00 	callq	11 <.plt+0x10>
 // CHECK-NEXT: 15:	f3 90 	pause

Modified: lld/trunk/test/ELF/x86-64-retpoline-znow.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/x86-64-retpoline-znow.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/x86-64-retpoline-znow.s (original)
+++ lld/trunk/test/ELF/x86-64-retpoline-znow.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 1010:	e8 0b 00 00 00 	callq	11 <.plt+0x10>
 // CHECK-NEXT: 1015:	f3 90 	pause

Modified: lld/trunk/test/ELF/x86-64-retpoline.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/x86-64-retpoline.s?rev=359668&r1=359667&r2=359668&view=diff
==============================================================================
--- lld/trunk/test/ELF/x86-64-retpoline.s (original)
+++ lld/trunk/test/ELF/x86-64-retpoline.s Wed May  1 03:40:48 2019
@@ -7,6 +7,7 @@
 // RUN: llvm-objdump -d -s %t.exe | FileCheck %s
 
 // CHECK:      Disassembly of section .plt:
+// CHECK-EMPTY:
 // CHECK-NEXT: .plt:
 // CHECK-NEXT: 1010:       ff 35 f2 1f 00 00       pushq   8178(%rip)
 // CHECK-NEXT: 1016:       4c 8b 1d f3 1f 00 00    movq    8179(%rip), %r11




More information about the llvm-commits mailing list