Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/compiler-rt/lib/interception/interception_mac.h
35262 views
1
//===-- interception_mac.h --------------------------------------*- C++ -*-===//
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
//
9
// This file is a part of AddressSanitizer, an address sanity checker.
10
//
11
// Mac-specific interception methods.
12
//===----------------------------------------------------------------------===//
13
14
#if SANITIZER_APPLE
15
16
#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)
17
# error "interception_mac.h should be included from interception.h only"
18
#endif
19
20
#ifndef INTERCEPTION_MAC_H
21
#define INTERCEPTION_MAC_H
22
23
#define INTERCEPT_FUNCTION_MAC(func)
24
#define INTERCEPT_FUNCTION_VER_MAC(func, symver)
25
26
#endif // INTERCEPTION_MAC_H
27
#endif // SANITIZER_APPLE
28
29