[llvm-dev] Need help with code generation

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 21 15:49:14 PDT 2016


Hi Rafael,

Are you guys fixing llvm to also not crash on invalid input? What is the
> use case of having the property in one but not the other?


Slowly?

Effort on handling errors is balanced with other priorities, but as a
matter of policy I don't think LLVM libraries should crash on user input.

On a related note, it is the macho lld what currently prevents the asan
> bots from reporting failures. That would probably be a good place to start.


Pete's has been working on this the last couple of days. We should have a
fix soon.

- Lang.


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

>
> On Mar 21, 2016 6:00 PM, "Lang Hames via llvm-dev" <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Hi All,
> >
> > My understanding of the earlier thread is that it ended with "We agree
> to disagree for now, and (potentially) revisit this later".
> >
> > I'm not interested in starting any new discussions at the moment, but I
> want to make sure we avoid the echo chamber effect too, so: The position of
> the mach-o tool developers is that crashing on malformed input should be
> considered a bug, and to that end we're working to improve our error
> detection and reporting.
>
> Are you guys fixing llvm to also not crash on invalid input? What is the
> use case of having the property in one but not the other?
>
> On a related note, it is the macho lld what currently prevents the asan
> bots from reporting failures. That would probably be a good place to start.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160321/7fd04ce0/attachment.html>


More information about the llvm-dev mailing list