21 collection::const_iterator end =
m_infos.end();
22 collection::const_iterator beg =
m_infos.begin();
23 collection::const_iterator pos;
24 for (pos = beg; pos != end; ++pos) {
25 if (pos->attr.get_attr() == attr)
26 return std::distance(beg, pos);
35 {attr, form_value.
Form(), form_value.
Value()}};
44 if (form_value.
Form() == DW_FORM_implicit_const) {
DWARFUnit * CompileUnitAtIndex(uint32_t i) const
DWARFDIE FormValueAsReferenceAtIndex(uint32_t i) const
dw_offset_t DIEOffsetAtIndex(uint32_t i) const
dw_form_t FormAtIndex(uint32_t i) const
DWARFDIE FormValueAsReference(dw_attr_t attr) const
bool ExtractFormValueAtIndex(uint32_t i, DWARFFormValue &form_value) const
uint32_t FindAttributeIndex(dw_attr_t attr) const
DWARFFormValue::ValueType ValueAtIndex(uint32_t i) const
void Append(const DWARFFormValue &form_value, dw_offset_t attr_die_offset, dw_attr_t attr)
const DWARFDataExtractor & GetData() const
Get the data that contains the DIE information for this unit.
llvm::dwarf::Attribute dw_attr_t