summaryrefslogtreecommitdiff
path: root/lib/ubsan/ubsan_signals_standalone.h
blob: 128eff266fb796766edbd57f18a258ace4c5e6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//=-- ubsan_signals_standalone.h
//------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Installs signal handlers and related interceptors for UBSan standalone.
//
//===----------------------------------------------------------------------===//

#ifndef UBSAN_SIGNALS_STANDALONE_H
#define UBSAN_SIGNALS_STANDALONE_H

namespace __ubsan {

// Initializes signal handlers and interceptors.
void InitializeDeadlySignals();

} // namespace __ubsan

#endif // UBSAN_SIGNALS_STANDALONE_H