RFC LeakSanitizer tests.

2014-03-13 Thread Maxim Ostapenko
Hi, This patch adds initial set of tests and dg infrastructure for LeakSanitizer runtime. Tested on x86_64. Ok to commit? -Maxim 2014-03-13 Max Ostapenko * c-c++-common/lsan/fork.c: New test. * c-c++-common/lsan/ignore_object.c: New test. * c-c++-common/lsan/ignore_object_errors.c: Ne

RFC LeakSanitizer tests

2014-03-04 Thread Maxim Ostapenko
Hi all! We would like to test LeakSanitizer during our working process, but there is no any testcase to do it in gcc at this moment . Do you think it would make sense to add support for LeakSanitizer testing? If the answer is positive, we can work on dg infrastructure (lsan-dg.exp, lsan.exp)