mozconfig.asan 880 B

12345678910111213141516171819202122232425262728
  1. MOZ_AUTOMATION_L10N_CHECK=0
  2. . "$topsrcdir/build/mozconfig.common"
  3. # Use Clang as specified in manifest
  4. export CC="$topsrcdir/clang/bin/clang -fgnu89-inline"
  5. export CXX="$topsrcdir/clang/bin/clang++"
  6. export LLVM_SYMBOLIZER="$topsrcdir/clang/bin/llvm-symbolizer"
  7. # Use a newer binutils, from the tooltool gcc package, if it's there
  8. if [ -e "$topsrcdir/gcc/bin/ld" ]; then
  9. export CC="$CC -B $topsrcdir/gcc/bin"
  10. export CXX="$CXX -B $topsrcdir/gcc/bin"
  11. fi
  12. # Enable ASan specific code and build workarounds
  13. ac_add_options --enable-address-sanitizer
  14. # Mandatory options required for ASan builds (both on Linux and Mac)
  15. export MOZ_DEBUG_SYMBOLS=1
  16. ac_add_options --enable-debug-symbols
  17. ac_add_options --disable-install-strip
  18. ac_add_options --disable-jemalloc
  19. ac_add_options --disable-crashreporter
  20. ac_add_options --disable-elf-hack
  21. . "$topsrcdir/build/unix/mozconfig.stdcxx"