* gcc-interface/trans.c (Subprogram_Body_to_gnu): Initialize locus.
[official-gcc.git] / libsanitizer / ubsan / ubsan_win_dll_thunk.cc
blob1091ac0351a9ad9f357d01d2de85f87f5a051835
1 //===-- ubsan_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_common/sanitizer_win_dll_thunk.h"
15 // Ubsan interface functions.
16 #define INTERFACE_FUNCTION(Name) INTERCEPT_SANITIZER_FUNCTION(Name)
17 #define INTERFACE_WEAK_FUNCTION(Name) INTERCEPT_SANITIZER_WEAK_FUNCTION(Name)
18 #include "ubsan_interface.inc"
19 #endif // SANITIZER_DLL_THUNK