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 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef liblldb_CrashReason_H_ |
10 | #define liblldb_CrashReason_H_ |
11 | |
12 | #include "lldb/lldb-types.h" |
13 | |
14 | #include <csignal> |
15 | |
16 | #include <string> |
17 | |
18 | std::string GetCrashReasonString(const siginfo_t &info); |
19 | |
20 | #endif // #ifndef liblldb_CrashReason_H_ |
21 | |