mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 17:22:04 +00:00
570031d38c
MozReview-Commit-ID: HFrQDAZWtpo --HG-- extra : rebase_source : ab1da001d7e9280fbfb37858505f1d0d0caf7d54
14 lines
589 B
Python
14 lines
589 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
libfuzzer_flags = []
|
|
|
|
if CONFIG['HAVE_LIBFUZZER_FLAG_FUZZER_NO_LINK']:
|
|
libfuzzer_flags += ['-fsanitize=fuzzer-no-link']
|
|
else:
|
|
# Older Clang versions (<= 5) only support an older set of libFuzzer flags
|
|
libfuzzer_flags += ['-fsanitize-coverage=trace-pc-guard,trace-cmp']
|