[PATCH] D28091: Add a class to create a tar archive file.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 23:40:01 PST 2016


ruiu created this revision.
ruiu added reviewers: pcc, rafael.
ruiu added a subscriber: llvm-commits.
Herald added a subscriber: mgorny.

In LLD, we create cpio archive files for --reproduce command.
cpio was not a bad choice because it is very easy to create, but
it was sometimes hard to use because people are not familiar with
cpio command.

I noticed that creating a tar archive isn't as hard as I thought.
So I implemented it in this patch.

Create a tar archive instead of a cpio for --reproduce.


https://reviews.llvm.org/D28091

Files:
  lld/COFF/Driver.cpp
  lld/COFF/Driver.h
  lld/ELF/Driver.cpp
  lld/ELF/Driver.h
  lld/ELF/InputFiles.cpp
  lld/include/lld/Core/Reproduce.h
  lld/lib/Core/Reproduce.cpp
  lld/test/COFF/linkrepro.test
  lld/test/ELF/reproduce-backslash.s
  lld/test/ELF/reproduce-error.s
  lld/test/ELF/reproduce-linkerscript.s
  lld/test/ELF/reproduce-thin-archive.s
  lld/test/ELF/reproduce-windows.s
  lld/test/ELF/reproduce-windows2.s
  lld/test/ELF/reproduce.s
  lld/test/lit.cfg
  llvm/include/llvm/Support/TarWriter.h
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/TarWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28091.82436.patch
Type: text/x-patch
Size: 25605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161224/42c1c324/attachment.bin>


More information about the llvm-commits mailing list