interception_mac.h revision 353358
191094Sdes//===-- interception_mac.h --------------------------------------*- C++ -*-===// 292289Sdes// 391094Sdes// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 491094Sdes// See https://llvm.org/LICENSE.txt for license information. 591094Sdes// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 699158Sdes// 799158Sdes//===----------------------------------------------------------------------===// 899158Sdes// 991094Sdes// This file is a part of AddressSanitizer, an address sanity checker. 1091094Sdes// 1191094Sdes// Mac-specific interception methods. 1291094Sdes//===----------------------------------------------------------------------===// 1391094Sdes 1491094Sdes#if SANITIZER_MAC 1591094Sdes 1691094Sdes#if !defined(INCLUDED_FROM_INTERCEPTION_LIB) 1791094Sdes# error "interception_mac.h should be included from interception.h only" 1891094Sdes#endif 1991094Sdes 2091094Sdes#ifndef INTERCEPTION_MAC_H 2191094Sdes#define INTERCEPTION_MAC_H 2291094Sdes 2391094Sdes#define INTERCEPT_FUNCTION_MAC(func) 2491094Sdes#define INTERCEPT_FUNCTION_VER_MAC(func, symver) 2591094Sdes 2691094Sdes#endif // INTERCEPTION_MAC_H 2791094Sdes#endif // SANITIZER_MAC 2891094Sdes