LLVM
8.0.1
|
#include "llvm/DebugInfo/DWARF/DWARFDebugMacro.h"
Public Member Functions | |
DWARFDebugMacro ()=default | |
void | dump (raw_ostream &OS) const |
Print the macro list found within the debug_macinfo section. More... | |
void | parse (DataExtractor data) |
Parse the debug_macinfo section accessible via the 'data' parameter. More... | |
bool | empty () const |
Return whether the section has any entries. More... | |
Definition at line 21 of file DWARFDebugMacro.h.
|
default |
void DWARFDebugMacro::dump | ( | raw_ostream & | OS | ) | const |
Print the macro list found within the debug_macinfo section.
Definition at line 19 of file DWARFDebugMacro.cpp.
References llvm::dwarf::DW_MACINFO_define, llvm::dwarf::DW_MACINFO_end_file, llvm::dwarf::DW_MACINFO_start_file, llvm::dwarf::DW_MACINFO_undef, llvm::dwarf::DW_MACINFO_vendor_ext, E, llvm::WithColor::get(), I, llvm::dwarf::MacinfoString(), and llvm::Macro.
Referenced by llvm::DWARFContext::dump().
|
inline |
Return whether the section has any entries.
Definition at line 58 of file DWARFDebugMacro.h.
References llvm::SmallVectorBase::empty().
void DWARFDebugMacro::parse | ( | DataExtractor | data | ) |
Parse the debug_macinfo section accessible via the 'data' parameter.
Definition at line 56 of file DWARFDebugMacro.cpp.
References llvm::dwarf::DW_MACINFO_define, llvm::dwarf::DW_MACINFO_end_file, llvm::dwarf::DW_MACINFO_invalid, llvm::dwarf::DW_MACINFO_start_file, llvm::dwarf::DW_MACINFO_undef, llvm::dwarf::DW_MACINFO_vendor_ext, E, llvm::DataExtractor::getCStr(), llvm::DataExtractor::getULEB128(), and llvm::DataExtractor::isValidOffset().