xref: /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ubsan_signals_standalone.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1 //=-- ubsan_signals_standalone.h
2 //------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Installs signal handlers and related interceptors for UBSan standalone.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef UBSAN_SIGNALS_STANDALONE_H
15 #define UBSAN_SIGNALS_STANDALONE_H
16 
17 namespace __ubsan {
18 
19 // Initializes signal handlers and interceptors.
20 void InitializeDeadlySignals();
21 
22 } // namespace __ubsan
23 
24 #endif // UBSAN_SIGNALS_STANDALONE_H
25