21 lines · c
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-exception6//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 18std::string GetCrashReasonString(const siginfo_t &info);19 20#endif // #ifndef liblldb_CrashReason_H_21