]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cc
Upgrade Unbound to 1.7.1.
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / sanitizer_common / sanitizer_coverage_win_dynamic_runtime_thunk.cc
1 //===-- sanitizer_coverage_win_dynamic_runtime_thunk.cc -------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines things that need to be present in the application modules
11 // to interact with Sanitizer Coverage, when it is included in a dll.
12 //
13 //===----------------------------------------------------------------------===//
14 #ifdef SANITIZER_DYNAMIC_RUNTIME_THUNK
15 #define SANITIZER_IMPORT_INTERFACE 1
16 #include "sanitizer_win_defs.h"
17 // Define weak alias for all weak functions imported from sanitizer coverage.
18 #define INTERFACE_FUNCTION(Name)
19 #define INTERFACE_WEAK_FUNCTION(Name) WIN_WEAK_IMPORT_DEF(Name)
20 #include "sanitizer_coverage_interface.inc"
21 #endif // SANITIZER_DYNAMIC_RUNTIME_THUNK