Path: blob/main/contrib/llvm-project/compiler-rt/lib/interception/interception_mac.h
35262 views
//===-- interception_mac.h --------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file is a part of AddressSanitizer, an address sanity checker.9//10// Mac-specific interception methods.11//===----------------------------------------------------------------------===//1213#if SANITIZER_APPLE1415#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)16# error "interception_mac.h should be included from interception.h only"17#endif1819#ifndef INTERCEPTION_MAC_H20#define INTERCEPTION_MAC_H2122#define INTERCEPT_FUNCTION_MAC(func)23#define INTERCEPT_FUNCTION_VER_MAC(func, symver)2425#endif // INTERCEPTION_MAC_H26#endif // SANITIZER_APPLE272829