LLDB mainline
Public Member Functions | Private Member Functions | List of all members
lldb_private::LinuxSignals Class Reference

Linux specific set of Unix signals. More...

#include <LinuxSignals.h>

Inheritance diagram for lldb_private::LinuxSignals:
Inheritance graph

Public Member Functions

 LinuxSignals ()
- Public Member Functions inherited from lldb_private::UnixSignals
 UnixSignals ()
virtual ~UnixSignals ()
llvm::StringRef GetSignalAsStringRef (int32_t signo) const
std::string GetSignalDescription (int32_t signo, std::optional< int32_t > code=std::nullopt, std::optional< lldb::addr_t > addr=std::nullopt, std::optional< lldb::addr_t > lower=std::nullopt, std::optional< lldb::addr_t > upper=std::nullopt) const
bool SignalIsValid (int32_t signo) const
int32_t GetSignalNumberFromName (const char *name) const
bool GetSignalInfo (int32_t signo, bool &should_suppress, bool &should_stop, bool &should_notify) const
 Gets the information for a particular signal.
bool GetShouldSuppress (int32_t signo) const
bool SetShouldSuppress (int32_t signo, bool value)
bool SetShouldSuppress (const char *signal_name, bool value)
bool GetShouldStop (int32_t signo) const
bool SetShouldStop (int32_t signo, bool value)
bool SetShouldStop (const char *signal_name, bool value)
bool GetShouldNotify (int32_t signo) const
bool SetShouldNotify (int32_t signo, bool value)
bool SetShouldNotify (const char *signal_name, bool value)
bool ResetSignal (int32_t signo, bool reset_stop=true, bool reset_notify=true, bool reset_suppress=true)
int32_t GetFirstSignalNumber () const
int32_t GetNextSignalNumber (int32_t current_signal) const
int32_t GetNumSignals () const
int32_t GetSignalAtIndex (int32_t index) const
void AddSignal (int signo, llvm::StringRef name, bool default_suppress, bool default_stop, bool default_notify, llvm::StringRef description, llvm::StringRef alias=llvm::StringRef())
void AddSignalCode (int signo, int code, const llvm::StringLiteral description, SignalCodePrintOption print_option=SignalCodePrintOption::None)
void RemoveSignal (int signo)
void IncrementSignalHitCount (int signo)
 Track how many times signals are hit as stop reasons.
llvm::json::Value GetHitCountStatistics () const
 Get the hit count statistics for signals.
uint64_t GetVersion () const
std::vector< int32_t > GetFilteredSignals (std::optional< bool > should_suppress, std::optional< bool > should_stop, std::optional< bool > should_notify)

Private Member Functions

void Reset () override

Additional Inherited Members

- Public Types inherited from lldb_private::UnixSignals
enum  SignalCodePrintOption { None , Address , Bounds }
- Static Public Member Functions inherited from lldb_private::UnixSignals
static lldb::UnixSignalsSP Create (const ArchSpec &arch)
static lldb::UnixSignalsSP CreateForHost ()
- Protected Types inherited from lldb_private::UnixSignals
typedef std::map< int32_t, Signalcollection
- Protected Member Functions inherited from lldb_private::UnixSignals
llvm::StringRef GetShortName (llvm::StringRef name) const
virtual void Reset ()
 UnixSignals (const UnixSignals &rhs)
const UnixSignalsoperator= (const UnixSignals &rhs)=delete
- Protected Attributes inherited from lldb_private::UnixSignals
collection m_signals
uint64_t m_version = 0

Detailed Description

Linux specific set of Unix signals.

Definition at line 17 of file LinuxSignals.h.

Constructor & Destructor Documentation

◆ LinuxSignals()

LinuxSignals::LinuxSignals ( )

Definition at line 37 of file LinuxSignals.cpp.

References Reset().

Member Function Documentation

◆ Reset()

void LinuxSignals::Reset ( )

The documentation for this class was generated from the following files: