1 //===-- ubsan_init_standalone.cpp -----------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // Initialization of standalone UBSan runtime.
11 //===----------------------------------------------------------------------===//
13 #include "ubsan_platform.h"
15 # error "UBSan is not supported on this platform!"
18 #include "sanitizer_common/sanitizer_internal_defs.h"
19 #include "ubsan_init.h"
20 #include "ubsan_signals_standalone.h"
24 class UbsanStandaloneInitializer
{
26 UbsanStandaloneInitializer() {
28 InitializeDeadlySignals();
31 static UbsanStandaloneInitializer ubsan_standalone_initializer
;
33 } // namespace __ubsan