Lines Matching refs:sects
442 bool getInfoFromEHABISection(pint_t pc, const UnwindInfoSections §s);
460 bool getInfoFromDwarfSection(pint_t pc, const UnwindInfoSections §s,
472 const UnwindInfoSections §s);
654 static _Self begin(A& addressSpace, const UnwindInfoSections& sects) { in begin()
655 return _Self(addressSpace, sects, 0); in begin()
657 static _Self end(A& addressSpace, const UnwindInfoSections& sects) { in end()
658 return _Self(addressSpace, sects, sects.arm_section_length); in end()
661 EHABISectionIterator(A& addressSpace, const UnwindInfoSections& sects, size_t i) in EHABISectionIterator()
662 : _i(i), _addressSpace(&addressSpace), _sects(§s) {} in EHABISectionIterator()
703 const UnwindInfoSections §s) { in getInfoFromEHABISection() argument
705 EHABISectionIterator<A>::begin(_addressSpace, sects); in getInfoFromEHABISection()
707 EHABISectionIterator<A>::end(_addressSpace, sects); in getInfoFromEHABISection()
835 const UnwindInfoSections §s, in getInfoFromDwarfSection() argument
843 foundFDE = CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
844 (uint32_t)sects.dwarf_section_length, in getInfoFromDwarfSection()
845 sects.dwarf_section + fdeSectionOffsetHint, in getInfoFromDwarfSection()
849 if (!foundFDE && (sects.dwarf_index_section != 0)) { in getInfoFromDwarfSection()
851 _addressSpace, pc, sects.dwarf_index_section, in getInfoFromDwarfSection()
852 (uint32_t)sects.dwarf_index_section_length, &fdeInfo, &cieInfo); in getInfoFromDwarfSection()
857 pint_t cachedFDE = DwarfFDECache<A>::findFDE(sects.dso_base, pc); in getInfoFromDwarfSection()
860 CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
861 (uint32_t)sects.dwarf_section_length, in getInfoFromDwarfSection()
868 foundFDE = CFI_Parser<A>::findFDE(_addressSpace, pc, sects.dwarf_section, in getInfoFromDwarfSection()
869 (uint32_t)sects.dwarf_section_length, 0, in getInfoFromDwarfSection()
886 _info.extra = (unw_word_t) sects.dso_base; in getInfoFromDwarfSection()
892 if (sects.dwarf_index_section == 0) in getInfoFromDwarfSection()
894 DwarfFDECache<A>::add(sects.dso_base, fdeInfo.pcStart, fdeInfo.pcEnd, in getInfoFromDwarfSection()
909 const UnwindInfoSections §s) { in getInfoFromCompactEncodingSection() argument
913 (uint64_t)pc, (uint64_t)sects.dso_base); in getInfoFromCompactEncodingSection()
916 sects.compact_unwind_section); in getInfoFromCompactEncodingSection()
921 pint_t targetFunctionOffset = pc - sects.dso_base; in getInfoFromCompactEncodingSection()
923 sects.compact_unwind_section in getInfoFromCompactEncodingSection()
948 sects.compact_unwind_section + topIndex.secondLevelPagesSectionOffset(low); in getInfoFromCompactEncodingSection()
950 sects.compact_unwind_section + topIndex.lsdaIndexArraySectionOffset(low); in getInfoFromCompactEncodingSection()
952 sects.compact_unwind_section + topIndex.lsdaIndexArraySectionOffset(low+1); in getInfoFromCompactEncodingSection()
984 funcEnd = firstLevelNextPageFunctionOffset + sects.dso_base; in getInfoFromCompactEncodingSection()
989 funcEnd = pageIndex.functionOffset(low + 1) + sects.dso_base; in getInfoFromCompactEncodingSection()
999 funcStart = pageIndex.functionOffset(low) + sects.dso_base; in getInfoFromCompactEncodingSection()
1048 + sects.dso_base; in getInfoFromCompactEncodingSection()
1052 + sects.dso_base; in getInfoFromCompactEncodingSection()
1054 funcEnd = firstLevelNextPageFunctionOffset + sects.dso_base; in getInfoFromCompactEncodingSection()
1071 sects.compact_unwind_section + in getInfoFromCompactEncodingSection()
1085 (uint64_t) sects.compact_unwind_section); in getInfoFromCompactEncodingSection()
1092 uint32_t funcStartOffset = (uint32_t)(funcStart - sects.dso_base); in getInfoFromCompactEncodingSection()
1104 lsda = lsdaIndex.lsdaOffset(mid) + sects.dso_base; in getInfoFromCompactEncodingSection()
1133 sects.compact_unwind_section + in getInfoFromCompactEncodingSection()
1136 pint_t personalityPointer = sects.dso_base + (pint_t)personalityDelta; in getInfoFromCompactEncodingSection()
1157 _info.extra = sects.dso_base; in getInfoFromCompactEncodingSection()
1181 UnwindInfoSections sects; in setInfoBasedOnIPRegister() local
1182 if (_addressSpace.findUnwindSections(pc, sects)) { in setInfoBasedOnIPRegister()
1185 if (sects.compact_unwind_section != 0) { in setInfoBasedOnIPRegister()
1186 if (this->getInfoFromCompactEncodingSection(pc, sects)) { in setInfoBasedOnIPRegister()
1190 if ((sects.dwarf_section != 0) && compactSaysUseDwarf(&dwarfOffset)) { in setInfoBasedOnIPRegister()
1191 if (this->getInfoFromDwarfSection(pc, sects, dwarfOffset)) { in setInfoBasedOnIPRegister()
1208 if (sects.dwarf_section != 0) { in setInfoBasedOnIPRegister()
1209 if (this->getInfoFromDwarfSection(pc, sects)) { in setInfoBasedOnIPRegister()
1218 if (sects.arm_section != 0 && this->getInfoFromEHABISection(pc, sects)) in setInfoBasedOnIPRegister()