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