From c0a6c866f50b37fb8c9043c082b5aa898cb9e630 Mon Sep 17 00:00:00 2001 From: Franziskus Kiefer Date: Tue, 22 Nov 2016 09:41:18 +0100 Subject: Bug 1319361 - add msan builds, r=ttaubert Differential Revision: https://nss-review.dev.mozaws.net/D89 --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 730aba15b..5af3d3402 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ cat << EOF Usage: ${0##*/} [-hcgv] [-j ] [--test] [--fuzz] [--scan-build[=output]] [-m32] [--opt|-o] [--asan] [--ubsan] [--sancov[=edge|bb|func]] - [--pprof] + [--pprof] [--msan] This script builds NSS with gyp and ninja. @@ -36,6 +36,7 @@ NSS build tool options: --opt|-o do an opt build --asan do an asan build --ubsan do an ubsan build + --msan do an msan build --sancov do sanitize coverage builds --sancov=func sets coverage to function level for example --pprof build with gperftool support @@ -104,6 +105,7 @@ while [ $# -gt 0 ]; do --sancov) gyp_params+=(-Duse_sancov=edge); nspr_sanitizer sancov edge ;; --sancov=?*) gyp_params+=(-Duse_sancov="${1#*=}"); nspr_sanitizer sancov "${1#*=}" ;; --pprof) gyp_params+=(-Duse_pprof=1) ;; + --msan) gyp_params+=(-Duse_msan=1); nspr_sanitizer msan ;; *) show_help; exit ;; esac shift -- cgit v1.2.1