]> git.ipfire.org Git - thirdparty/gcc.git/blob - libsanitizer/ubsan/ubsan_win_dynamic_runtime_thunk.cc
ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch builtins...
[thirdparty/gcc.git] / libsanitizer / ubsan / ubsan_win_dynamic_runtime_thunk.cc
1 //===-- ubsan_win_dynamic_runtime_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 things that need to be present in the application modules
9 // to interact with Ubsan, when it is included in a dll.
10 //
11 //===----------------------------------------------------------------------===//
12 #ifdef SANITIZER_DYNAMIC_RUNTIME_THUNK
13 #define SANITIZER_IMPORT_INTERFACE 1
14 #include "sanitizer_common/sanitizer_win_defs.h"
15 // Define weak alias for all weak functions imported from ubsan.
16 #define INTERFACE_FUNCTION(Name)
17 #define INTERFACE_WEAK_FUNCTION(Name) WIN_WEAK_IMPORT_DEF(Name)
18 #include "ubsan_interface.inc"
19 #endif // SANITIZER_DYNAMIC_RUNTIME_THUNK