2018-12-28 15:30:48 +00:00
|
|
|
//=-- ubsan_signals_standalone.h
|
|
|
|
//------------------------------------------------===//
|
|
|
|
//
|
2019-06-02 15:48:37 +00:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2018-12-28 15:30:48 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// 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
|