Files
clang-p2996/lldb/source/Plugins/Process/POSIX/CrashReason.h
David Spickett 6db766aa1a Reland "[lldb] Refactor CrashReason"
This reverts commit 71c4d186f1.
The reinterpret casts were not needed.
2023-03-15 10:15:44 +00:00

21 lines
601 B
C++

//===-- CrashReason.h -------------------------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_CrashReason_H_
#define liblldb_CrashReason_H_
#include "lldb/lldb-types.h"
#include <csignal>
#include <string>
std::string GetCrashReasonString(const siginfo_t &info);
#endif // #ifndef liblldb_CrashReason_H_