xref: /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtraCountersDarwin.cpp (revision 370e009188ba90c3290b1479aa06ec98b66e140a)
1 //===- FuzzerExtraCountersDarwin.cpp - Extra coverage counters for Darwin -===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 // Extra coverage counters defined by user code for Darwin.
9 //===----------------------------------------------------------------------===//
10 
11 #include "FuzzerPlatform.h"
12 #include <cstdint>
13 
14 #if LIBFUZZER_APPLE
15 
16 namespace fuzzer {
17 uint8_t *ExtraCountersBegin() { return nullptr; }
18 uint8_t *ExtraCountersEnd() { return nullptr; }
19 void ClearExtraCounters() {}
20 } // namespace fuzzer
21 
22 #endif
23