[LLVMdev] [cfe-dev] Address sanitizer regression test failures for PPC64 targets

Will Schmidt will_schmidt at vnet.ibm.com
Fri Sep 26 08:25:21 PDT 2014


On Mon, 2014-09-08 at 22:00 -0400, Samuel F Antao wrote:
> Alexey, Alexander,
> 
> Thanks for the suggestions. I tried removing the flag SA_NODEFER but
> it didn't do any good... I have been digging into the problem with the
> null_deref test today but I was unable to clearly identify the
> problem. I suspect that it was either a bug with the calling
> convention/unwinding that lead to the flags() pointer to get
> corrupted. It is also possible that it was related with endianess
> issues caused by some bug in the pointer arithmetic inserted by the
> sanitizer code (there are many type and bit casts which makes hard to
> follow the

>  references). I decided to upgrade the compiler I was using to build
> clang which made the problem with this testcase to go away (!).

Hi Samuel, 
Which compiler versions were you using before/after ?   At the moment,
I'm building with a gcc 4.9 snapshot, but can switch to something newer
if you had a recommendation.

Thanks, 
-Will




More information about the llvm-dev mailing list