Searched refs:AttrValue (Results 1 – 6 of 6) sorted by relevance
23 pub value: Option<AttrValue>,60 pub fn value_or_abort(&self) -> &AttrValue { in value_or_abort() argument69 AttrValue::LitStr(tokens) => tokens, in lit_str_or_abort()70 AttrValue::Expr(_) | AttrValue::Call(_) => { in lit_str_or_abort()120 Some(AttrValue::LitStr(lit)) in parse()123 Ok(expr) => Some(AttrValue::Expr(expr)), in parse()137 Some(AttrValue::Call(Vec::from_iter(method_args))) in parse()182 pub enum AttrValue { enum188 impl ToTokens for AttrValue { implementation
334 if let Some(AttrValue::Call(_)) = &attr.value { in infer_kind()432 if let Some(AttrValue::Call(tokens)) = &attr.value { in push_attrs()1160 Skip(Option<AttrValue>, AttrKind),
677 AttrValue.Offset = D.getOffset() + AbbrDecl->getCodeByteSize(); in attribute_iterator()688 AttrValue.Attr = AbbrDecl.getAttrByIndex(Index); in updateForIndex()690 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()691 uint64_t ParseOffset = AttrValue.Offset; in updateForIndex()694 AttrValue.Value = DWARFFormValue::createFromUnit( in updateForIndex()696 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()699 AttrValue = {}; in updateForIndex()
170 for (auto AttrValue : Die.attributes()) { in verifyUnitContents() local171 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue); in verifyUnitContents()172 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue); in verifyUnitContents()448 DWARFAttribute &AttrValue) { in verifyDebugInfoAttribute() argument457 const auto Attr = AttrValue.Attr; in verifyDebugInfoAttribute()461 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()470 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()533 DWARFAttribute &AttrValue) { in verifyDebugInfoForm() argument537 const auto Form = AttrValue.Value.getForm(); in verifyDebugInfoForm()545 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference(); in verifyDebugInfoForm()[all …]
293 DWARFAttribute AttrValue; variable313 explicit operator bool() const { return AttrValue.isValid(); }314 const DWARFAttribute &operator*() const { return AttrValue; }
197 DWARFAttribute &AttrValue);211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue);