[cfe-users] Clang9 UBSan and GMP
Matthew Fernandez via cfe-users
cfe-users at lists.llvm.org
Fri Oct 25 17:55:29 PDT 2019
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). 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 <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 <mailto: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 <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users