• Home
  • Raw
  • Download

Lines Matching refs:DICtx

313 using HandlerFn = std::function<bool(ObjectFile &, DWARFContext &DICtx,
359 static void getDies(DWARFContext &DICtx, const AppleAcceleratorTable &Accel, in getDies() argument
363 if (DWARFDie Die = DICtx.getDIEForOffset(*Off)) in getDies()
370 DWARFContext &DICtx) { in toDie() argument
376 DWARFCompileUnit *CU = DICtx.getCompileUnitForOffset(*CUOff); in toDie()
382 CU = DICtx.getDWOCompileUnitForHash(*DWOId); in toDie()
390 static void getDies(DWARFContext &DICtx, const DWARFDebugNames &Accel, in getDies() argument
393 if (DWARFDie Die = toDie(Entry, DICtx)) in getDies()
399 static void filterByAccelName(ArrayRef<std::string> Names, DWARFContext &DICtx, in filterByAccelName() argument
403 getDies(DICtx, DICtx.getAppleNames(), Name, Dies); in filterByAccelName()
404 getDies(DICtx, DICtx.getAppleTypes(), Name, Dies); in filterByAccelName()
405 getDies(DICtx, DICtx.getAppleNamespaces(), Name, Dies); in filterByAccelName()
406 getDies(DICtx, DICtx.getDebugNames(), Name, Dies); in filterByAccelName()
411 DIDumpOptions DumpOpts = getDumpOpts(DICtx); in filterByAccelName()
422 static bool lookup(ObjectFile &Obj, DWARFContext &DICtx, uint64_t Address, in lookup() argument
424 auto DIEsForAddr = DICtx.getDIEsForAddress(Lookup); in lookup()
429 DIDumpOptions DumpOpts = getDumpOpts(DICtx); in lookup()
440 if (DILineInfo LineInfo = DICtx.getLineInfoForAddress( in lookup()
447 static bool dumpObjectFile(ObjectFile &Obj, DWARFContext &DICtx, in dumpObjectFile() argument
449 logAllUnhandledErrors(DICtx.loadRegisterInfo(Obj), errs(), in dumpObjectFile()
457 return lookup(Obj, DICtx, Lookup, OS); in dumpObjectFile()
465 filterByName(Names, DICtx.normal_units(), OS); in dumpObjectFile()
466 filterByName(Names, DICtx.dwo_units(), OS); in dumpObjectFile()
472 filterByAccelName(Find, DICtx, OS); in dumpObjectFile()
477 DICtx.dump(OS, getDumpOpts(DICtx), DumpOffsets); in dumpObjectFile()
481 static bool verifyObjectFile(ObjectFile &Obj, DWARFContext &DICtx, in verifyObjectFile() argument
488 bool Result = DICtx.verify(stream, getDumpOpts(DICtx)); in verifyObjectFile()
528 std::unique_ptr<DWARFContext> DICtx = in handleBuffer() local
530 if (!HandleObj(*Obj, *DICtx, Filename, OS)) in handleBuffer()
541 std::unique_ptr<DWARFContext> DICtx = in handleBuffer() local
543 if (!HandleObj(Obj, *DICtx, ObjName, OS)) in handleBuffer()