Lines Matching refs:sects
421 bool getInfoFromEHABISection(pint_t pc, const UnwindInfoSections §s);
425 bool getInfoFromDwarfSection(pint_t pc, const UnwindInfoSections §s,
437 const UnwindInfoSections §s);
633 static _Self begin(A& addressSpace, const UnwindInfoSections& sects) { in begin()
634 return _Self(addressSpace, sects, 0); in begin()
636 static _Self end(A& addressSpace, const UnwindInfoSections& sects) { in end()
637 return _Self(addressSpace, sects, sects.arm_section_length); in end()
640 EHABISectionIterator(A& addressSpace, const UnwindInfoSections& sects, size_t i) in EHABISectionIterator()
641 : _addressSpace(&addressSpace), _sects(§s), _i(i) {} in EHABISectionIterator()
682 const UnwindInfoSections §s) { in getInfoFromEHABISection() argument
684 EHABISectionIterator<A>::begin(_addressSpace, sects); in getInfoFromEHABISection()
686 EHABISectionIterator<A>::end(_addressSpace, sects); in getInfoFromEHABISection()
811 const UnwindInfoSections §s, in getInfoFromDwarfSection() argument
819 foundFDE = CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
820 (uint32_t)sects.dwarf_section_length, in getInfoFromDwarfSection()
821 sects.dwarf_section + fdeSectionOffsetHint, in getInfoFromDwarfSection()
825 if (!foundFDE && (sects.dwarf_index_section != 0)) { in getInfoFromDwarfSection()
832 pint_t cachedFDE = DwarfFDECache<A>::findFDE(sects.dso_base, pc); in getInfoFromDwarfSection()
835 CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
836 (uint32_t)sects.dwarf_section_length, in getInfoFromDwarfSection()
843 foundFDE = CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
844 (uint32_t)sects.dwarf_section_length, 0, in getInfoFromDwarfSection()
861 _info.extra = (unw_word_t) sects.dso_base; in getInfoFromDwarfSection()
867 if (sects.dwarf_index_section == 0) in getInfoFromDwarfSection()
869 DwarfFDECache<A>::add(sects.dso_base, fdeInfo.pcStart, fdeInfo.pcEnd, in getInfoFromDwarfSection()
884 const UnwindInfoSections §s) { in getInfoFromCompactEncodingSection() argument
888 (uint64_t)pc, (uint64_t)sects.dso_base); in getInfoFromCompactEncodingSection()
891 sects.compact_unwind_section); in getInfoFromCompactEncodingSection()
896 pint_t targetFunctionOffset = pc - sects.dso_base; in getInfoFromCompactEncodingSection()
898 sects.compact_unwind_section in getInfoFromCompactEncodingSection()
923 sects.compact_unwind_section + topIndex.secondLevelPagesSectionOffset(low); in getInfoFromCompactEncodingSection()
925 sects.compact_unwind_section + topIndex.lsdaIndexArraySectionOffset(low); in getInfoFromCompactEncodingSection()
927 sects.compact_unwind_section + topIndex.lsdaIndexArraySectionOffset(low+1); in getInfoFromCompactEncodingSection()
959 funcEnd = firstLevelNextPageFunctionOffset + sects.dso_base; in getInfoFromCompactEncodingSection()
964 funcEnd = pageIndex.functionOffset(low + 1) + sects.dso_base; in getInfoFromCompactEncodingSection()
974 funcStart = pageIndex.functionOffset(low) + sects.dso_base; in getInfoFromCompactEncodingSection()
1023 + sects.dso_base; in getInfoFromCompactEncodingSection()
1027 + sects.dso_base; in getInfoFromCompactEncodingSection()
1029 funcEnd = firstLevelNextPageFunctionOffset + sects.dso_base; in getInfoFromCompactEncodingSection()
1046 sects.compact_unwind_section + in getInfoFromCompactEncodingSection()
1060 (uint64_t) sects.compact_unwind_section); in getInfoFromCompactEncodingSection()
1067 uint32_t funcStartOffset = (uint32_t)(funcStart - sects.dso_base); in getInfoFromCompactEncodingSection()
1079 lsda = lsdaIndex.lsdaOffset(mid) + sects.dso_base; in getInfoFromCompactEncodingSection()
1108 sects.compact_unwind_section + in getInfoFromCompactEncodingSection()
1111 pint_t personalityPointer = sects.dso_base + (pint_t)personalityDelta; in getInfoFromCompactEncodingSection()
1132 _info.extra = sects.dso_base; in getInfoFromCompactEncodingSection()
1156 UnwindInfoSections sects; in setInfoBasedOnIPRegister() local
1157 if (_addressSpace.findUnwindSections(pc, sects)) { in setInfoBasedOnIPRegister()
1160 if (sects.compact_unwind_section != 0) { in setInfoBasedOnIPRegister()
1161 if (this->getInfoFromCompactEncodingSection(pc, sects)) { in setInfoBasedOnIPRegister()
1165 if ((sects.dwarf_section != 0) && compactSaysUseDwarf(&dwarfOffset)) { in setInfoBasedOnIPRegister()
1166 if (this->getInfoFromDwarfSection(pc, sects, dwarfOffset)) { in setInfoBasedOnIPRegister()
1183 if (sects.dwarf_section != 0) { in setInfoBasedOnIPRegister()
1184 if (this->getInfoFromDwarfSection(pc, sects)) { in setInfoBasedOnIPRegister()
1193 if (sects.arm_section != 0 && this->getInfoFromEHABISection(pc, sects)) in setInfoBasedOnIPRegister()