1353944Sdim//===-- sanitizer_coverage_win_dll_thunk.cpp ------------------------------===// 2353944Sdim// 3353944Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4353944Sdim// See https://llvm.org/LICENSE.txt for license information. 5353944Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6353944Sdim// 7353944Sdim//===----------------------------------------------------------------------===// 8353944Sdim// 9353944Sdim// This file defines a family of thunks that should be statically linked into 10353944Sdim// the DLLs that have instrumentation in order to delegate the calls to the 11353944Sdim// shared runtime that lives in the main binary. 12353944Sdim// See https://github.com/google/sanitizers/issues/209 for the details. 13353944Sdim//===----------------------------------------------------------------------===// 14353944Sdim#ifdef SANITIZER_DLL_THUNK 15353944Sdim#include "sanitizer_win_dll_thunk.h" 16353944Sdim// Sanitizer Coverage interface functions. 17353944Sdim#define INTERFACE_FUNCTION(Name) INTERCEPT_SANITIZER_FUNCTION(Name) 18353944Sdim#define INTERFACE_WEAK_FUNCTION(Name) INTERCEPT_SANITIZER_WEAK_FUNCTION(Name) 19353944Sdim#include "sanitizer_coverage_interface.inc" 20353944Sdim#endif // SANITIZER_DLL_THUNK 21