Hi, I am looking through more gcc debug flags and I have come across a couple interesting new ones with gcc 4.8:
-fsanitize=address Enable AddressSanitizer, a fast memory error detector. Memory access instructions will be instrumented to detect out-of-bounds and use-after-free bugs. See http://code.google.com/p/address-sanitizer/ for more details. -fsanitize=thread Enable ThreadSanitizer, a fast data race detector. Memory access instructions will be instrumented to detect data race bugs. See http://code.google.com/p/data-race-test/wiki/ThreadSanitizer for more details. It looks like they are ported from clang/llvm projects. They looks quite useful! I'd be curios if any one has tried them out in clang or gcc, and what they think of them. Brad On May 28, 2013, at 10:37 AM, Bradley Lowekamp <[email protected]> wrote: > Hello, > > It has come to my attention that we don't have any systems which define > "_GLIBCXX_DEBUG" on the dashboard or in the robot builds. This is a very > useful option to add for testing. It can detect things like going pass the > end with iterators :) > > I am going to add this flag to some of my dashboard builds. > > Brad > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.itk.org/mailman/listinfo/insight-developers
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
