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