xref: /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtraCountersDarwin.cpp (revision 9d54812421274e490dc5f0fe4722ab8d35d9b258)
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