[Llvm-bgq-discuss] address sanitizer vs valgrind

Hal Finkel hfinkel at anl.gov
Mon Jul 15 11:37:59 CDT 2013


----- Original Message -----
> 
> Could someone explain the differences between this address sanitizer
> feature and valgrind? Why would using only valgrind be insufficient?

Address sanitizer (along with some of its companion projects for detecting leaks and use of uninitialized values (the memory sanitizer)), have the same general functionality as valgrind. The generally-relevant difference is that the runtime overhead of address sanitizer is often over an order of magnitude less than that of valgrind. In addition, because valgrind does not support QPX instructions, it cannot be used on the BG/Q if any QPX-containing code paths are taken (including those in the MPI library and other runtime libraries).

 -Hal

> 
> Thanks,
> 
> Michael Blocksome
> Blue Gene Messaging
> blocksom at us.ibm.com
> 
> _______________________________________________
> llvm-bgq-discuss mailing list
> llvm-bgq-discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-bgq-discuss mailing list