LLDB mainline
|
#include <DebugMacros.h>
Public Types | |
enum | EntryType : uint8_t { INVALID , DEFINE , UNDEF , START_FILE , END_FILE , INDIRECT } |
Public Member Functions | |
DebugMacroEntry () | |
~DebugMacroEntry ()=default | |
EntryType | GetType () const |
uint64_t | GetLineNumber () const |
ConstString | GetMacroString () const |
const FileSpec & | GetFileSpec (CompileUnit *comp_unit) const |
DebugMacros * | GetIndirectDebugMacros () const |
Static Public Member Functions | |
static DebugMacroEntry | CreateDefineEntry (uint32_t line, const char *str) |
static DebugMacroEntry | CreateUndefEntry (uint32_t line, const char *str) |
static DebugMacroEntry | CreateStartFileEntry (uint32_t line, uint32_t debug_line_file_idx) |
static DebugMacroEntry | CreateEndFileEntry () |
static DebugMacroEntry | CreateIndirectEntry (const DebugMacrosSP &debug_macros_sp) |
Private Member Functions | |
DebugMacroEntry (EntryType type, uint32_t line, uint32_t debug_line_file_idx, const char *str) | |
DebugMacroEntry (EntryType type, const DebugMacrosSP &debug_macros_sp) | |
Private Attributes | |
uint32_t | m_type: 3 |
uint32_t | m_line: 29 |
uint32_t | m_debug_line_file_idx |
ConstString | m_str |
DebugMacrosSP | m_debug_macros_sp |
Definition at line 24 of file DebugMacros.h.
enum lldb_private::DebugMacroEntry::EntryType : uint8_t |
Enumerator | |
---|---|
INVALID | |
DEFINE | |
UNDEF | |
START_FILE | |
END_FILE | |
INDIRECT |
Definition at line 26 of file DebugMacros.h.
|
inline |
Definition at line 42 of file DebugMacros.h.
Referenced by CreateDefineEntry(), CreateEndFileEntry(), CreateIndirectEntry(), CreateStartFileEntry(), and CreateUndefEntry().
|
default |
|
private |
Definition at line 15 of file DebugMacros.cpp.
|
private |
Definition at line 20 of file DebugMacros.cpp.
|
static |
Definition at line 29 of file DebugMacros.cpp.
References DebugMacroEntry(), and DEFINE.
Referenced by lldb_private::plugin::dwarf::DWARFDebugMacroEntry::ReadMacroEntries().
|
static |
Definition at line 46 of file DebugMacros.cpp.
References DebugMacroEntry(), and END_FILE.
Referenced by lldb_private::plugin::dwarf::DWARFDebugMacroEntry::ReadMacroEntries().
|
static |
Definition at line 51 of file DebugMacros.cpp.
References DebugMacroEntry(), and INDIRECT.
Referenced by lldb_private::plugin::dwarf::DWARFDebugMacroEntry::ReadMacroEntries().
|
static |
Definition at line 40 of file DebugMacros.cpp.
References DebugMacroEntry(), and START_FILE.
Referenced by lldb_private::plugin::dwarf::DWARFDebugMacroEntry::ReadMacroEntries().
|
static |
Definition at line 34 of file DebugMacros.cpp.
References DebugMacroEntry(), and UNDEF.
Referenced by lldb_private::plugin::dwarf::DWARFDebugMacroEntry::ReadMacroEntries().
const FileSpec & DebugMacroEntry::GetFileSpec | ( | CompileUnit * | comp_unit | ) | const |
Definition at line 25 of file DebugMacros.cpp.
References lldb_private::SupportFileList::GetFileSpecAtIndex(), lldb_private::CompileUnit::GetSupportFiles(), and m_debug_line_file_idx.
Referenced by AddMacros().
|
inline |
Definition at line 54 of file DebugMacros.h.
References m_debug_macros_sp.
Referenced by AddMacros().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 66 of file DebugMacros.h.
Referenced by GetFileSpec().
|
private |
Definition at line 68 of file DebugMacros.h.
Referenced by GetIndirectDebugMacros().
|
private |
Definition at line 65 of file DebugMacros.h.
Referenced by GetLineNumber().
|
private |
Definition at line 67 of file DebugMacros.h.
Referenced by GetMacroString().
|
private |
Definition at line 64 of file DebugMacros.h.
Referenced by GetType().