<div dir="ltr"><a href="https://reviews.llvm.org/D25111">https://reviews.llvm.org/D25111</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 10:13 AM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30 September 2016 at 10:03, Rui Ueyama via llvm-commits<br>
<span class=""><<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> I'd instead make it precise; if an archive file has no symbol table and it<br>
> contains a LLVM bitcode file, it is likely that the file was created by<br>
> mistake. What do you think?<br>
><br>
<br>
</span>How do you know it has a bitcode? We only open files if there is a<br>
symbol table telling us to do so.<br>
<br>
Maybe just check that it has no symbol table but has at least one<br>
regular member?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>