[PATCH] D54118: [lld][NFC] Update tests to use -S instead of -s when using llvm-readelf.

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 12:01:52 PST 2018


rupprecht created this revision.
rupprecht added a reviewer: MaskRay.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, arichardson, emaste.
Herald added a reviewer: espindola.

llvm-readobj/readelf accepts both -s and -S as aliases for --sections. However with GNU readelf only -S means --section, and -s means --symbols. I would like to make llvm-readelf more compatible.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54118

Files:
  test/ELF/got32-i386-pie-rw.s
  test/ELF/linkerscript/align-r.test
  test/ELF/linkerscript/non-alloc-segment.s
  test/ELF/linkerscript/non-alloc.s
  test/ELF/linkerscript/orphan-discard.s
  test/ELF/linkerscript/orphan-phdrs.s
  test/ELF/linkerscript/segment-none.s
  test/ELF/linkerscript/sort-non-script.s
  test/ELF/linkerscript/unused-synthetic.s
  test/ELF/lto/section-name.ll
  test/ELF/sort-norosegment.s
  test/ELF/x86-64-reloc-gotoff64.s
  test/ELF/x86-64-reloc-gotpc64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54118.172633.patch
Type: text/x-patch
Size: 7202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181105/8b795fd6/attachment.bin>


More information about the llvm-commits mailing list