[lld] r282633 - Warn on empty archive files.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 10:26:22 PDT 2016
On Fri, Sep 30, 2016 at 10:13 AM, Rafael Espíndola <
rafael.espindola at gmail.com> wrote:
> On 30 September 2016 at 10:03, Rui Ueyama via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > I'd instead make it precise; if an archive file has no symbol table and
> > contains a LLVM bitcode file, it is likely that the file was created by
> > mistake. What do you think?
> How do you know it has a bitcode? We only open files if there is a
> symbol table telling us to do so.
> Maybe just check that it has no symbol table but has at least one
> regular member?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits