9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_STOPINFOMACHEXCEPTION_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_STOPINFOMACHEXCEPTION_H
19#include <mach/exception.h>
33 uint32_t exc_data_count, uint64_t exc_code,
35 bool not_stepping_but_got_singlestep_exception)
39 not_stepping_but_got_singlestep_exception) {}
50 struct MachException {
51 static const char *Name(exception_type_t exc_type);
52 static std::optional<exception_type_t> ExceptionCode(
const char *name);
60 Thread &thread, uint32_t exc_type, uint32_t exc_data_count,
61 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
62 bool pc_already_adjusted =
true,
bool adjust_pc_if_needed =
false);
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
const char * GetDescription() override
bool DeterminePtrauthFailure(ExecutionContext &exe_ctx)
Determine the pointer-authentication related failure that caused this exception.
bool WasContinueInterrupted(Thread &thread) override
A Continue operation can result in a false stop event before any execution has happened.
lldb::StopReason GetStopReason() const override
uint32_t m_exc_data_count
bool m_not_stepping_but_got_singlestep_exception
static lldb::StopInfoSP CreateStopReasonWithMachException(Thread &thread, uint32_t exc_type, uint32_t exc_data_count, uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code, bool pc_already_adjusted=true, bool adjust_pc_if_needed=false)
~StopInfoMachException() override=default
StopInfoMachException(Thread &thread, uint32_t exc_type, uint32_t exc_data_count, uint64_t exc_code, uint64_t exc_subcode, bool not_stepping_but_got_singlestep_exception)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::StopInfo > StopInfoSP
StopReason
Thread stop reasons.