[PATCH] D32721: Accept archive files with no symbol table instad of warning on them.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 16:05:28 PDT 2017


ruiu created this revision.

It seems virtually everyone who tries to do LTO build with Clang and
LLD was hit by a mistake to forget using llvm-ar command to create
archive files. I wasn't an exception. Since this is an annoying common
issue, it is probably better to handle that gracefully rather than
reporting an error and tell the user to redo build with different
configuration.


https://reviews.llvm.org/D32721

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/Relocations.cpp
  lld/test/ELF/lto/archive-no-index.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32721.97358.patch
Type: text/x-patch
Size: 4865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/b11b5d3f/attachment.bin>


More information about the llvm-commits mailing list