1 //===-- sanitizer_coverage_win_dll_thunk.cc -------------------------------===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file defines a family of thunks that should be statically linked into
9 // the DLLs that have instrumentation in order to delegate the calls to the
10 // shared runtime that lives in the main binary.
11 // See https://github.com/google/sanitizers/issues/209 for the details.
12 //===----------------------------------------------------------------------===//
13 #ifdef SANITIZER_DLL_THUNK
14 #include "sanitizer_win_dll_thunk.h"
15 // Sanitizer Coverage interface functions.
16 #define INTERFACE_FUNCTION(Name) INTERCEPT_SANITIZER_FUNCTION(Name)
17 #define INTERFACE_WEAK_FUNCTION(Name) INTERCEPT_SANITIZER_WEAK_FUNCTION(Name)
18 #include "sanitizer_coverage_interface.inc"
19 #endif // SANITIZER_DLL_THUNK