2015-07-15 04:45:54 +03:00
|
|
|
MOZ_AUTOMATION_L10N_CHECK=0
|
|
|
|
|
2018-09-06 05:43:08 +03:00
|
|
|
. "$topsrcdir/build/unix/mozconfig.unix"
|
2015-07-15 04:45:54 +03:00
|
|
|
|
|
|
|
export LLVM_SYMBOLIZER="$topsrcdir/clang/bin/llvm-symbolizer"
|
|
|
|
|
|
|
|
# Enable TSan specific code and build workarounds
|
|
|
|
ac_add_options --enable-thread-sanitizer
|
|
|
|
|
2016-07-13 03:30:23 +03:00
|
|
|
# The ThreadSanitizer is not compatible with sandboxing
|
2015-07-15 04:45:54 +03:00
|
|
|
# (see bug 1182565)
|
|
|
|
ac_add_options --disable-sandbox
|
|
|
|
|
|
|
|
# These are required by TSan
|
|
|
|
ac_add_options --disable-jemalloc
|
|
|
|
ac_add_options --disable-crashreporter
|
|
|
|
ac_add_options --disable-elf-hack
|
|
|
|
|
|
|
|
# Keep symbols to symbolize TSan traces
|
|
|
|
ac_add_options --disable-install-strip
|
|
|
|
# -gline-tables-only results in significantly smaller binaries.
|
|
|
|
ac_add_options --enable-debug-symbols="-gline-tables-only"
|