summaryrefslogtreecommitdiffstats
path: root/browser/config/mozconfigs/macosx64/nightly-fuzzing-asan
diff options
context:
space:
mode:
Diffstat (limited to 'browser/config/mozconfigs/macosx64/nightly-fuzzing-asan')
-rw-r--r--browser/config/mozconfigs/macosx64/nightly-fuzzing-asan12
1 files changed, 12 insertions, 0 deletions
diff --git a/browser/config/mozconfigs/macosx64/nightly-fuzzing-asan b/browser/config/mozconfigs/macosx64/nightly-fuzzing-asan
new file mode 100644
index 0000000000..08a52adfa3
--- /dev/null
+++ b/browser/config/mozconfigs/macosx64/nightly-fuzzing-asan
@@ -0,0 +1,12 @@
+. "$topsrcdir/browser/config/mozconfigs/macosx64/nightly-asan"
+
+ac_add_options --enable-fuzzing
+
+# gold or lld is required for libFuzzer to work properly
+ac_add_options --enable-linker=lld
+
+# Piggybacking UBSan for now since only a small subset of checks are enabled.
+# A new build can be created when appropriate.
+ac_add_options --enable-undefined-sanitizer
+
+. "$topsrcdir/build/mozconfig.common.override"