[LVI] Add trunc to i1 handling. (#124480)
[llvm-project.git] / lldb / source / Plugins / Process / POSIX / CrashReason.h
blob2177726b76f0ef82434124509be2aa1c87ea6583
1 //===-- CrashReason.h -------------------------------------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_CrashReason_H_
10 #define liblldb_CrashReason_H_
12 #include "lldb/lldb-types.h"
14 #include <csignal>
16 #include <string>
18 std::string GetCrashReasonString(const siginfo_t &info);
20 #endif // #ifndef liblldb_CrashReason_H_