summaryrefslogtreecommitdiff
path: root/indra/newview/linux_tools
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-27 01:53:04 -0400
committerRye <rye@alchemyviewer.org>2025-10-27 04:59:17 -0400
commit17fd0f6a50a7838792ca4f15d713a140fec037d5 (patch)
tree0829f07303dbcb4ae6df732a5bb7ed89304647bf /indra/newview/linux_tools
parente803bbc0db695abe73de9797510ba22646528e23 (diff)
Add support for building with address, undefined, and thread sanitizers on linux
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/newview/linux_tools')
-rwxr-xr-xindra/newview/linux_tools/wrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh
index bab5ea8a46..7e7a9a5e49 100755
--- a/indra/newview/linux_tools/wrapper.sh
+++ b/indra/newview/linux_tools/wrapper.sh
@@ -18,6 +18,8 @@ export mesa_glthread=true
## an unstripped binary before you run.
#export LL_WRAPPER='gdb --args'
#export LL_WRAPPER='valgrind --smc-check=all --error-limit=no --log-file=secondlife.vg --leak-check=full --suppressions=/usr/lib/valgrind/glibc-2.5.supp --suppressions=secondlife-i686.supp'
+#export ASAN_OPTIONS="halt_on_error=0 detect_leaks=1 symbolize=1"
+#export UBSAN_OPTIONS="print_stacktrace=1 print_summary=1 halt_on_error=0"
## Nothing worth editing below this line.
##-------------------------------------------------------------------