Lines Matching refs:Gsym
66 uint32_t DWARFToGSYMFileIndex(GsymCreator &Gsym, uint32_t DwarfFileIdx) { in DWARFToGSYMFileIndex()
77 GsymFileIdx = Gsym.insertFile(File); in DWARFToGSYMFileIndex()
132 GsymCreator &Gsym) { in getQualifiedNameIndex() argument
138 return Gsym.insertString(LinkageName, /* Copy */ false); in getQualifiedNameIndex()
153 return Gsym.insertString(ShortName, /* Copy */ false); in getQualifiedNameIndex()
160 return Gsym.insertString(ShortName, /* Copy */ false); in getQualifiedNameIndex()
180 return Gsym.insertString(Name, /* Copy */ true); in getQualifiedNameIndex()
183 return Gsym.insertString(ShortName, /* Copy */ false); in getQualifiedNameIndex()
207 static void parseInlineInfo(GsymCreator &Gsym, CUInfo &CUI, DWARFDie Die, in parseInlineInfo() argument
231 if (auto NameIndex = getQualifiedNameIndex(Die, CUI.Language, Gsym)) in parseInlineInfo()
234 Gsym, dwarf::toUnsigned(Die.find(dwarf::DW_AT_call_file), 0)); in parseInlineInfo()
238 parseInlineInfo(Gsym, CUI, ChildDie, Depth + 1, FI, II); in parseInlineInfo()
245 parseInlineInfo(Gsym, CUI, ChildDie, Depth + 1, FI, parent); in parseInlineInfo()
250 DWARFDie Die, GsymCreator &Gsym, in convertFunctionLineTable() argument
267 LineEntry LE(StartAddress, CUI.DWARFToGSYMFileIndex(Gsym, *FileIdx), in convertFunctionLineTable()
283 const uint32_t FileIdx = CUI.DWARFToGSYMFileIndex(Gsym, Row.File); in convertFunctionLineTable()
362 auto NameIndex = getQualifiedNameIndex(Die, CUI.Language, Gsym); in handleDie()
387 if (!Gsym.IsValidTextAddress(Range.LowPC)) { in handleDie()
396 *Gsym.GetValidTextRanges() << ") and will not be processed:\n"; in handleDie()
407 convertFunctionLineTable(OS, CUI, Die, Gsym, FI); in handleDie()
413 parseInlineInfo(Gsym, CUI, Die, 0, FI, *FI.Inline); in handleDie()
415 Gsym.addFunctionInfo(std::move(FI)); in handleDie()
426 size_t NumBefore = Gsym.getNumFunctionInfos(); in convert()
474 size_t FunctionsAddedCount = Gsym.getNumFunctionInfos() - NumBefore; in convert()
482 auto Gsym = GsymReader::openFile(GsymPath); in verify() local
483 if (!Gsym) in verify()
484 return Gsym.takeError(); in verify()
486 auto NumAddrs = Gsym->getNumAddresses(); in verify()
492 auto FuncAddr = Gsym->getAddress(I); in verify()
497 auto FI = Gsym->getFunctionInfo(*FuncAddr); in verify()
506 auto LR = Gsym->lookup(Addr); in verify()
543 Gsym->dump(Log, *FI); in verify()