1 //===-- ubsan_init_standalone.cc ------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Initialization of standalone UBSan runtime.
12 //===----------------------------------------------------------------------===//
14 #include "ubsan_platform.h"
16 # error "UBSan is not supported on this platform!"
19 #include "sanitizer_common/sanitizer_internal_defs.h"
20 #include "ubsan_init.h"
21 #include "ubsan_signals_standalone.h"
25 class UbsanStandaloneInitializer {
27 UbsanStandaloneInitializer() {
29 InitializeDeadlySignals();
32 static UbsanStandaloneInitializer ubsan_standalone_initializer;
34 } // namespace __ubsan