Why wouldn't you use clang instead? ASAN builds using clang on Linux are a supported and tested Firefox configuration so there is a good chance that it works well for Thunderbird as well. ASAN builds using gcc is neither tested nor supported as far as I know.

On 2015-03-24 10:15 PM, ISHIKAWA,chiaki wrote:
Hi,

I filed the following bugzilla to share my experience of
using address sanitizer with GCC 4.9 (*NOT CLANG*)
to compile C-C TB.

Bug 1147248 - GCC 4.9 + Address Sanitizer + C-C TB: Compiling
comm-central thunderbird using address sanitizer, -fsanitize=address
using GCC 4.9

I wonder what I did is optimal or not.
Comments welcome, especially the patch I created for mozalloc.h

I believe similar setup will make it compile FF with GCC + ASAN.

I needed to use ASAN since valgrind/memcheck did not work due to recent
changes in OS, libraries, or the mozilla software itself.

TIA

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to