003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/source/Plugins/Process/POSIX
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
source
/
Plugins
/
Process
/
POSIX
/
📁
..
📄
CrashReason.cpp
(8.96 KB)
📄
CrashReason.h
(1.4 KB)
📄
NativeProcessELF.cpp
(6.6 KB)
📄
NativeProcessELF.h
(2.02 KB)
📄
ProcessMessage.cpp
(1.47 KB)
📄
ProcessMessage.h
(4.92 KB)
📄
ProcessPOSIXLog.cpp
(1.21 KB)
📄
ProcessPOSIXLog.h
(1.09 KB)
Editing: CrashReason.h
//===-- 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 <signal.h> #include <string> enum class CrashReason { eInvalidCrashReason, // SIGSEGV crash reasons. eInvalidAddress, ePrivilegedAddress, eBoundViolation, // SIGILL crash reasons. eIllegalOpcode, eIllegalOperand, eIllegalAddressingMode, eIllegalTrap, ePrivilegedOpcode, ePrivilegedRegister, eCoprocessorError, eInternalStackError, // SIGBUS crash reasons, eIllegalAlignment, eIllegalAddress, eHardwareError, // SIGFPE crash reasons, eIntegerDivideByZero, eIntegerOverflow, eFloatDivideByZero, eFloatOverflow, eFloatUnderflow, eFloatInexactResult, eFloatInvalidOperation, eFloatSubscriptRange }; std::string GetCrashReasonString(CrashReason reason, lldb::addr_t fault_addr); std::string GetCrashReasonString(CrashReason reason, const siginfo_t &info); const char *CrashReasonAsString(CrashReason reason); CrashReason GetCrashReason(const siginfo_t &info); #endif // #ifndef liblldb_CrashReason_H_
Upload File
Create Folder