[lld] r282633 - Warn on empty archive files.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 10:13:35 PDT 2016
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
More information about the llvm-commits
mailing list