[llvm-dev] Need help with code generation

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 21 16:20:24 PDT 2016


On Mon, Mar 21, 2016 at 2:55 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> >> Right now lld is already harder to crash than llvm. We are just being
> >> honest about the fact that it is possible to craft a .o file that will
> >> crash it.
> >
> >
> > But the difference seems to be you know about these cases and don't
> consider
> > them to be bugs/anything to fix. In LLVM if they're known, they're at
> least
> > considered bugs and often/usually considered by someone to be worth
> fixing
> > at some point.
>
> From the user seeing a crash, what is the difference? lld will crash
> less often than llvm.
>
> If someone really cares (I don't), they can write a patch. Such a
> patch would be evaluated on its cost and benefits. Given that its
> benefits are close to nothing (don't crash when someone is playing
> with hexedit?), the cost would have to be *really* low.


That seems like the difference - if we consider any crash a bug by
definition then the bar is low to fix a crasher, no matter the obscurity of
the input.


> Also, we are
> not even in a position to evaluate the cost right now, since we still
> have actual features to implement.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160321/13e15ac6/attachment.html>


More information about the llvm-dev mailing list