xref: /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ubsan_signals_standalone.h (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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