Lines Matching defs:symbolsFile
92 bool CallStack::fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> map,
105 symbolsFile.GetHDRSectionInfo(ehFrameHdrElfOffset, fdeTableElfOffset, fdeTableSize)) {
144 symbolsFile.GetSectionInfo(ARM_EXIDX, SectionVaddr, SectionSize, SectionFileOffset)) {
168 int CallStack::FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map,
172 HLOGV("try seach debug info at %s", symbolsFile->filePath_.c_str());
180 if (dynFileMap.find(symbolsFile->filePath_) == dynFileMap.end()) {
182 std::optional<unw_dyn_info_t> &odi = dynFileMap[symbolsFile->filePath_];
195 if (fillUDI(newdi, *symbolsFile, map, unwindInfoPtr->thread)) {
202 HLOG_ASSERT_MESSAGE(dynFileMap.find(symbolsFile->filePath_) != dynFileMap.end(), "%s",
203 symbolsFile->filePath_.c_str());
205 dynInfoProcessMap.at(unwindInfoPtr->thread.pid_).at(symbolsFile->filePath_);
247 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(*map);
248 if (symbolsFile != nullptr) {
249 return FindUnwindTable(symbolsFile, map, unwindInfoPtr, as, ip, pi, need_unwind_info,
561 int CallStack::FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwindInfoPtr,
564 HLOGM("try search debug info at %s", symbolsFile->filePath_.c_str());
572 if (unwTabMap.find(symbolsFile->filePath_) == unwTabMap.end()) {
574 auto elf = symbolsFile->GetElfFile();
583 unwTabMap[symbolsFile->filePath_] = uti;
584 outTableInfo = unwTabMap[symbolsFile->filePath_];
592 outTableInfo = unwTabMap[symbolsFile->filePath_];
603 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(map);
604 if (symbolsFile != nullptr) {
605 return FillUnwindTable(symbolsFile, map, unwindInfoPtr, pc, outTableInfo);