PR middle-end/85496
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_coverage_win_dll_thunk.cc
blob5aea1203dbfe6976d0a50c0a4f200e8f8eb08f2f
1 //===-- sanitizer_coverage_win_dll_thunk.cc -------------------------------===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
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