[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
https://reviews.llvm.org/D25111
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
> it
> > 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?
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160930/a23e95fe/attachment.html>
More information about the llvm-commits
mailing list