From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- build/unix/mozconfig.asan | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 build/unix/mozconfig.asan (limited to 'build/unix/mozconfig.asan') diff --git a/build/unix/mozconfig.asan b/build/unix/mozconfig.asan new file mode 100644 index 000000000..84113a417 --- /dev/null +++ b/build/unix/mozconfig.asan @@ -0,0 +1,27 @@ +MOZ_AUTOMATION_L10N_CHECK=0 + +. "$topsrcdir/build/mozconfig.common" + +# Use Clang as specified in manifest +export CC="$topsrcdir/clang/bin/clang -fgnu89-inline" +export CXX="$topsrcdir/clang/bin/clang++" +export LLVM_SYMBOLIZER="$topsrcdir/clang/bin/llvm-symbolizer" + +# Use a newer binutils, from the tooltool gcc package, if it's there +if [ -e "$topsrcdir/gcc/bin/ld" ]; then + export CC="$CC -B $topsrcdir/gcc/bin" + export CXX="$CXX -B $topsrcdir/gcc/bin" +fi + +# Enable ASan specific code and build workarounds +ac_add_options --enable-address-sanitizer + +# Mandatory options required for ASan builds (both on Linux and Mac) +export MOZ_DEBUG_SYMBOLS=1 +ac_add_options --enable-debug-symbols +ac_add_options --disable-install-strip +ac_add_options --disable-jemalloc +ac_add_options --disable-crashreporter +ac_add_options --disable-elf-hack + +. "$topsrcdir/build/unix/mozconfig.stdcxx" -- cgit v1.2.3