[PATCH] D81109: llvm-link: Add support for archive files as inputs.

Jan Sjödin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 09:19:40 PDT 2020


jsjodin updated this revision to Diff 269565.
jsjodin added a comment.

Added check that archive members are bitcode files, with a negative test. Added a negative test for a broken archive. Note: The error message "file too small to be an archive" is given regardless of the size of the input file. The error is reported if the archive library does not recognize the file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81109/new/

https://reviews.llvm.org/D81109

Files:
  llvm/test/tools/llvm-link/Inputs/f.ll
  llvm/test/tools/llvm-link/Inputs/g.ll
  llvm/test/tools/llvm-link/Inputs/h.ll
  llvm/test/tools/llvm-link/archive-bad.ll
  llvm/test/tools/llvm-link/archive.ll
  llvm/test/tools/llvm-link/archivell.ll
  llvm/tools/llvm-link/llvm-link.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81109.269565.patch
Type: text/x-patch
Size: 6147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/93c9a19d/attachment.bin>


More information about the llvm-commits mailing list