11dd4c606SKostya Serebryany //===-- interception_mac.h --------------------------------------*- C++ -*-===// 21dd4c606SKostya Serebryany // 32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 61dd4c606SKostya Serebryany // 71dd4c606SKostya Serebryany //===----------------------------------------------------------------------===// 81dd4c606SKostya Serebryany // 91dd4c606SKostya Serebryany // This file is a part of AddressSanitizer, an address sanity checker. 101dd4c606SKostya Serebryany // 111dd4c606SKostya Serebryany // Mac-specific interception methods. 121dd4c606SKostya Serebryany //===----------------------------------------------------------------------===// 131dd4c606SKostya Serebryany 14*8246b2e1SMariusz Borsa #if SANITIZER_APPLE 151dd4c606SKostya Serebryany 161dd4c606SKostya Serebryany #if !defined(INCLUDED_FROM_INTERCEPTION_LIB) 171dd4c606SKostya Serebryany # error "interception_mac.h should be included from interception.h only" 181dd4c606SKostya Serebryany #endif 191dd4c606SKostya Serebryany 201dd4c606SKostya Serebryany #ifndef INTERCEPTION_MAC_H 211dd4c606SKostya Serebryany #define INTERCEPTION_MAC_H 221dd4c606SKostya Serebryany 2334157fc3SAlexander Potapenko #define INTERCEPT_FUNCTION_MAC(func) 24edecc383SAlexey Samsonov #define INTERCEPT_FUNCTION_VER_MAC(func, symver) 251dd4c606SKostya Serebryany 261dd4c606SKostya Serebryany #endif // INTERCEPTION_MAC_H 27*8246b2e1SMariusz Borsa #endif // SANITIZER_APPLE 28