[llvm-objdump] Print newlines before and after "Disassembly of section ...:"
authorFangrui Song <maskray@google.com>
Wed, 1 May 2019 10:40:48 +0000 (10:40 +0000)
committerFangrui Song <maskray@google.com>
Wed, 1 May 2019 10:40:48 +0000 (10:40 +0000)
commit5387c2cd17b2fb63df81298527614795ffc0abbb
tree3d5d6a573b746e8b1ff83ffc8a724851d33bdc05
parenta7d107a3e07e805ccf96306e4059f97de0f92eaa
[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

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