tor-browser

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

commit bb0e2eb2e94ee11cdff30eb24bd0bc825352f885
parent 1f737ca8c862353db438a62f85630d67028faf53
Author: Mike Hommey <mh+mozilla@glandium.org>
Date:   Wed, 12 Nov 2025 23:51:17 +0000

Bug 1998863 - Remove instructions about MOZ_CLANG_RT_ASAN_LIB_PATH. r=truber

Bug 1896414 made the default to autodetect the path, so it's not needed
to be set manually anymore.

We also don't need to add CLANG_LIB_DIR to PATH.

Differential Revision: https://phabricator.services.mozilla.com/D271729

Diffstat:
Mbuild/win64/mozconfig.asan | 2--
Mtools/sanitizer/docs/asan.rst | 3---
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/build/win64/mozconfig.asan b/build/win64/mozconfig.asan @@ -1,8 +1,6 @@ . "$topsrcdir/browser/config/mozconfigs/win64/common-win64" if [ -d "$MOZ_FETCHES_DIR/clang" ]; then - CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/* && cd lib/windows && pwd)" - export LDFLAGS="clang_rt.asan_dynamic-x86_64.lib clang_rt.asan_dynamic_runtime_thunk-x86_64.lib" export MOZ_COPY_PDBS=1 diff --git a/tools/sanitizer/docs/asan.rst b/tools/sanitizer/docs/asan.rst @@ -98,9 +98,6 @@ Run ``mach bootstrap`` to get an updated clang-cl in your ac_add_options --disable-jemalloc export LDFLAGS="clang_rt.asan_dynamic-x86_64.lib clang_rt.asan_dynamic_runtime_thunk-x86_64.lib" - CLANG_LIB_DIR="$(cd ~/.mozbuild/clang/lib/clang/*/lib/windows && pwd)" - export MOZ_CLANG_RT_ASAN_LIB_PATH="${CLANG_LIB_DIR}/clang_rt.asan_dynamic-x86_64.dll" - export PATH=$CLANG_LIB_DIR:$PATH If you launch an ASan build under WinDbg, you may see spurious first-chance Access Violation exceptions. These come from ASan creating