[cfe-users] Clang9 UBSan and GMP

David Blaikie via cfe-users cfe-users at lists.llvm.org
Fri Oct 25 17:59:03 PDT 2019


On Fri, Oct 25, 2019 at 5:55 PM Matthew Fernandez <
matthew.fernandez at gmail.com> wrote:

> Hans, it’s challenging to give sensible advice/guesses without knowing
> which test is failing. Maybe I missed this information in the replies
> (please CC the list if you want follow up answers from more than just
> David).
>

That's my fault - Hans not subscribed to the list, so the emails have to be
approved by a moderator (me) & I hadn't gotten around to it. Approved them
all so they should now show up.


> I am not a GMP developer, but note that GMP is regularly tested with ubsan
> and results are included at https://gmplib.org/devel/tm/gmp/date.html.
>
> On Oct 25, 2019, at 15:32, David Blaikie via cfe-users <
> cfe-users at lists.llvm.org> wrote:
>
> UBSan doesn't catch everything - you could also try ASan and/or valgrind,
> etc. (MSan if you want, but that's a bit fussier/more work to use)
>
> On Fri, Oct 25, 2019 at 3:16 PM Hans Åberg <haberg-1 at telia.com> wrote:
>
>> That is the reason I tried the UBSan, but as it changes optimization, it
>> does not wrok.
>>
>>
>> > On 26 Oct 2019, at 00:14, David Blaikie <dblaikie at gmail.com> wrote:
>> >
>> > Yeah, coming across compiler bugs does happen - but more often it's
>> bugs in input programs. (one of the reasons compiler engineers aren't
>> likely to jump on reproducing and reducing misbehaving programs, because on
>> the odds, it's not a bug in the compiler)
>>
>> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20191025/e41ad7f5/attachment.html>


More information about the cfe-users mailing list