tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

debug-asan (974B)


      1 # Use at least -O1 for optimization to avoid stack space
      2 # exhaustions caused by Clang function inlining.
      3 ac_add_options --enable-debug
      4 ac_add_options --enable-optimize="-O1"
      5 
      6 # ASan specific options on Linux
      7 ac_add_options --enable-valgrind
      8 
      9 . $topsrcdir/build/unix/mozconfig.asan
     10 
     11 ac_add_options --enable-gczeal
     12 
     13 # Build with fuzzing support, so this build can also be used
     14 # to analyze fuzzing bugs with rr.
     15 ac_add_options --enable-fuzzing
     16 
     17 # Enable ASan for rust code. This is done for specific build tasks rather than
     18 # globally in mozconfig.asan because it requires an unstable -Z flag.
     19 export RUSTFLAGS="$RUSTFLAGS -Zsanitizer=address"
     20 
     21 # Include 'SourceRepository' in application.ini which
     22 # is used by Pernosco to locate source
     23 export MOZ_INCLUDE_SOURCE_INFO=1
     24 
     25 # Package js shell.
     26 export MOZ_PACKAGE_JSSHELL=1
     27 
     28 # Need this to prevent name conflicts with the normal nightly build packages
     29 export MOZ_PKG_SPECIAL=asan
     30 
     31 . "$topsrcdir/build/mozconfig.common.override"