[testsuite] require pic for pr103074.c
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_coverage_win_dll_thunk.cpp
blobd0bf8a4556436c9fbdd50976735b352ba46d1163
1 //===-- sanitizer_coverage_win_dll_thunk.cpp ------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines a family of thunks that should be statically linked into
10 // the DLLs that have instrumentation in order to delegate the calls to the
11 // shared runtime that lives in the main binary.
12 // See https://github.com/google/sanitizers/issues/209 for the details.
13 //===----------------------------------------------------------------------===//
14 #ifdef SANITIZER_DLL_THUNK
15 #include "sanitizer_win_dll_thunk.h"
16 // Sanitizer Coverage interface functions.
17 #define INTERFACE_FUNCTION(Name) INTERCEPT_SANITIZER_FUNCTION(Name)
18 #define INTERFACE_WEAK_FUNCTION(Name) INTERCEPT_SANITIZER_WEAK_FUNCTION(Name)
19 #include "sanitizer_coverage_interface.inc"
20 #endif // SANITIZER_DLL_THUNK