|
LLDB mainline
|
#include <DWARFAttribute.h>
Classes | |
| struct | AttributeValue |
Public Member Functions | |
| DWARFAttributes () | |
| ~DWARFAttributes () | |
| void | Append (const DWARFFormValue &form_value, dw_offset_t attr_die_offset, dw_attr_t attr) |
| DWARFUnit * | CompileUnitAtIndex (uint32_t i) const |
| dw_offset_t | DIEOffsetAtIndex (uint32_t i) const |
| dw_attr_t | AttributeAtIndex (uint32_t i) const |
| dw_form_t | FormAtIndex (uint32_t i) const |
| DWARFFormValue::ValueType | ValueAtIndex (uint32_t i) const |
| bool | ExtractFormValueAtIndex (uint32_t i, DWARFFormValue &form_value) const |
| DWARFDIE | FormValueAsReferenceAtIndex (uint32_t i) const |
| DWARFDIE | FormValueAsReference (dw_attr_t attr) const |
| uint32_t | FindAttributeIndex (dw_attr_t attr) const |
| void | Clear () |
| size_t | Size () const |
Protected Types | |
| typedef llvm::SmallVector< AttributeValue, 8 > | collection |
Protected Attributes | |
| collection | m_infos |
Definition at line 43 of file DWARFAttribute.h.
|
protected |
Definition at line 75 of file DWARFAttribute.h.
| DWARFAttributes::DWARFAttributes | ( | ) |
Definition at line 16 of file DWARFAttribute.cpp.
References m_infos.
|
default |
| void DWARFAttributes::Append | ( | const DWARFFormValue & | form_value, |
| dw_offset_t | attr_die_offset, | ||
| dw_attr_t | attr ) |
Definition at line 31 of file DWARFAttribute.cpp.
References lldb_private::plugin::dwarf::DWARFFormValue::Form(), lldb_private::plugin::dwarf::DWARFFormValue::GetUnit(), m_infos, and lldb_private::plugin::dwarf::DWARFFormValue::Value().
Referenced by GetAttributes().
|
inline |
Definition at line 54 of file DWARFAttribute.h.
References m_infos.
Referenced by lldb_private::plugin::dwarf::DWARFUnit::AddUnitDIE(), lldb_private::plugin::dwarf::SymbolFileDWARF::CollectCallEdges(), CollectCallSiteParameters(), lldb_private::plugin::dwarf::DWARFASTParser::GetTypeForDIE(), lldb_private::plugin::dwarf::ManualDWARFIndex::IndexUnitImpl(), DWARFASTParserClang::MemberAttributes::MemberAttributes(), lldb_private::plugin::dwarf::DWARFASTParser::ParseChildArrayInfo(), DWARFASTParserClang::ParseChildEnumerators(), ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseInheritance(), DWARFASTParserClang::ParseTemplateDIE(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE().
|
inline |
Definition at line 65 of file DWARFAttribute.h.
References m_infos.
Referenced by lldb_private::plugin::dwarf::DWARFDebugInfoEntry::GetAttributes().
|
inline |
Definition at line 50 of file DWARFAttribute.h.
References m_infos.
Referenced by ExtractFormValueAtIndex(), DWARFASTParserClang::ParseChildEnumerators(), ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE().
|
inline |
Definition at line 51 of file DWARFAttribute.h.
References m_infos.
Referenced by ExtractFormValueAtIndex().
| bool DWARFAttributes::ExtractFormValueAtIndex | ( | uint32_t | i, |
| DWARFFormValue & | form_value ) const |
Definition at line 39 of file DWARFAttribute.cpp.
References CompileUnitAtIndex(), DIEOffsetAtIndex(), lldb_private::plugin::dwarf::DWARFFormValue::ExtractValue(), lldb_private::plugin::dwarf::DWARFFormValue::Form(), FormAtIndex(), lldb_private::plugin::dwarf::DWARFUnit::GetData(), lldb_private::plugin::dwarf::DWARFFormValue::SetForm(), lldb_private::plugin::dwarf::DWARFFormValue::SetUnit(), lldb_private::plugin::dwarf::DWARFFormValue::SetValue(), and ValueAtIndex().
Referenced by lldb_private::plugin::dwarf::DWARFUnit::AddUnitDIE(), lldb_private::plugin::dwarf::SymbolFileDWARF::CollectCallEdges(), CollectCallSiteParameters(), FormValueAsReferenceAtIndex(), lldb_private::plugin::dwarf::DWARFASTParser::GetTypeForDIE(), lldb_private::plugin::dwarf::ManualDWARFIndex::IndexUnitImpl(), DWARFASTParserClang::MemberAttributes::MemberAttributes(), lldb_private::plugin::dwarf::DWARFASTParser::ParseChildArrayInfo(), DWARFASTParserClang::ParseChildEnumerators(), ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseInheritance(), DWARFASTParserClang::ParseTemplateDIE(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE().
| uint32_t DWARFAttributes::FindAttributeIndex | ( | dw_attr_t | attr | ) | const |
Definition at line 20 of file DWARFAttribute.cpp.
References m_infos, and UINT32_MAX.
Referenced by FormValueAsReference().
|
inline |
Definition at line 57 of file DWARFAttribute.h.
References m_infos.
Referenced by ExtractFormValueAtIndex().
Definition at line 53 of file DWARFAttribute.cpp.
References FindAttributeIndex(), FormValueAsReferenceAtIndex(), and UINT32_MAX.
| DWARFDIE DWARFAttributes::FormValueAsReferenceAtIndex | ( | uint32_t | i | ) | const |
Definition at line 61 of file DWARFAttribute.cpp.
References ExtractFormValueAtIndex(), and lldb_private::plugin::dwarf::DWARFFormValue::Reference().
Referenced by FormValueAsReference().
|
inline |
Definition at line 66 of file DWARFAttribute.h.
References m_infos.
Referenced by lldb_private::plugin::dwarf::DWARFUnit::AddUnitDIE(), lldb_private::plugin::dwarf::SymbolFileDWARF::CollectCallEdges(), CollectCallSiteParameters(), lldb_private::plugin::dwarf::DWARFASTParser::GetTypeForDIE(), lldb_private::plugin::dwarf::ManualDWARFIndex::IndexUnitImpl(), DWARFASTParserClang::MemberAttributes::MemberAttributes(), lldb_private::plugin::dwarf::DWARFASTParser::ParseChildArrayInfo(), DWARFASTParserClang::ParseChildEnumerators(), ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseInheritance(), DWARFASTParserClang::ParseTemplateDIE(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE().
|
inline |
Definition at line 58 of file DWARFAttribute.h.
References m_infos.
Referenced by ExtractFormValueAtIndex().
|
protected |
Definition at line 76 of file DWARFAttribute.h.
Referenced by Append(), AttributeAtIndex(), Clear(), CompileUnitAtIndex(), DIEOffsetAtIndex(), DWARFAttributes(), FindAttributeIndex(), FormAtIndex(), Size(), and ValueAtIndex().