LLDB mainline
|
#include "PlatformLinux.h"
#include "lldb/Host/Config.h"
#include <cstdio>
#include "Plugins/Process/Utility/LinuxSignals.h"
#include "Utility/ARM64_DWARF_Registers.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Symbol/UnwindPlan.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
Go to the source code of this file.
Macros | |
#define | MAP_PRIVATE 2 |
#define | MAP_ANON 0x20 |
#define | SIGILL 4 |
#define | SIGBUS 7 |
#define | SIGFPE 8 |
#define | SIGSEGV 11 |
Functions | |
static lldb::UnwindPlanSP | GetAArch64TrapHandlerUnwindPlan (ConstString name) |
static std::string | GetDescriptionFromSiginfo (lldb::ValueObjectSP siginfo_sp) |
Variables | |
static uint32_t | g_initialize_count = 0 |
#define MAP_ANON 0x20 |
Definition at line 35 of file PlatformLinux.cpp.
#define MAP_PRIVATE 2 |
Definition at line 34 of file PlatformLinux.cpp.
#define SIGBUS 7 |
Definition at line 42 of file PlatformLinux.cpp.
Referenced by GetDescriptionFromSiginfo(), lldb_private::Host::GetSignalAsCString(), lldb_private::FreeBSDSignals::Reset(), lldb_private::LinuxSignals::Reset(), lldb_private::NetBSDSignals::Reset(), lldb_private::OpenBSDSignals::Reset(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedBySignal(), lldb_private::process_linux::NativeThreadLinux::SetStoppedBySignal(), and lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedBySignal().
#define SIGFPE 8 |
Definition at line 45 of file PlatformLinux.cpp.
Referenced by GetDescriptionFromSiginfo(), lldb_private::Host::GetSignalAsCString(), lldb_private::FreeBSDSignals::Reset(), lldb_private::LinuxSignals::Reset(), lldb_private::NetBSDSignals::Reset(), lldb_private::OpenBSDSignals::Reset(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedBySignal(), lldb_private::process_linux::NativeThreadLinux::SetStoppedBySignal(), and lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedBySignal().
#define SIGILL 4 |
Definition at line 39 of file PlatformLinux.cpp.
Referenced by GetDescriptionFromSiginfo(), lldb_private::Host::GetSignalAsCString(), lldb_private::FreeBSDSignals::Reset(), lldb_private::LinuxSignals::Reset(), lldb_private::NetBSDSignals::Reset(), lldb_private::OpenBSDSignals::Reset(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedBySignal(), lldb_private::process_linux::NativeThreadLinux::SetStoppedBySignal(), and lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedBySignal().
#define SIGSEGV 11 |
Definition at line 48 of file PlatformLinux.cpp.
Referenced by GetDescriptionFromSiginfo(), lldb_private::Host::GetSignalAsCString(), lldb_private::FreeBSDSignals::Reset(), lldb_private::LinuxSignals::Reset(), lldb_private::NetBSDSignals::Reset(), lldb_private::OpenBSDSignals::Reset(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedBySignal(), lldb_private::process_linux::NativeThreadLinux::SetStoppedBySignal(), and lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedBySignal().
|
static |
Definition at line 225 of file PlatformLinux.cpp.
References lldb_private::eLazyBoolYes, lldb::eRegisterKindDWARF, arm64_dwarf::fp, lldb_private::UnwindPlan::Row::GetCFAValue(), arm64_dwarf::pc, lldb_private::UnwindPlan::Row::FAValue::SetIsRegisterPlusOffset(), lldb_private::UnwindPlan::Row::SetRegisterLocationToAtCFAPlusOffset(), arm64_dwarf::sp, arm64_dwarf::x0, arm64_dwarf::x1, arm64_dwarf::x10, arm64_dwarf::x11, arm64_dwarf::x12, arm64_dwarf::x13, arm64_dwarf::x14, arm64_dwarf::x15, arm64_dwarf::x16, arm64_dwarf::x17, arm64_dwarf::x18, arm64_dwarf::x19, arm64_dwarf::x2, arm64_dwarf::x20, arm64_dwarf::x21, arm64_dwarf::x22, arm64_dwarf::x23, arm64_dwarf::x24, arm64_dwarf::x25, arm64_dwarf::x26, arm64_dwarf::x27, arm64_dwarf::x28, arm64_dwarf::x3, arm64_dwarf::x30, arm64_dwarf::x4, arm64_dwarf::x5, arm64_dwarf::x6, arm64_dwarf::x7, arm64_dwarf::x8, and arm64_dwarf::x9.
Referenced by lldb_private::platform_linux::PlatformLinux::GetTrapHandlerUnwindPlan().
|
static |
Definition at line 501 of file PlatformLinux.cpp.
References lldb_private::UnixSignals::GetSignalDescription(), SIGBUS, SIGFPE, SIGILL, and SIGSEGV.
Referenced by lldb_private::platform_linux::PlatformLinux::GetStopInfoFromSiginfo().
|
static |
Definition at line 57 of file PlatformLinux.cpp.