Lines Matching refs:Path

213 std::string getDarwinDWARFResourceForPath(const std::string &Path,  in getDarwinDWARFResourceForPath()  argument
215 SmallString<16> ResourceName = StringRef(Path); in getDarwinDWARFResourceForPath()
216 if (sys::path::extension(Path) != ".dSYM") { in getDarwinDWARFResourceForPath()
224 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC() argument
226 MemoryBuffer::getFileOrSTDIN(Path); in checkFileCRC()
359 SmallString<128> Path{Directory}; in findDebugBinary() local
360 sys::path::append(Path, ".build-id", in findDebugBinary()
363 Path += ".debug"; in findDebugBinary()
364 return Path; in findDebugBinary()
367 SmallString<128> Path = getDebugPath( in findDebugBinary() local
376 if (llvm::sys::fs::exists(Path)) { in findDebugBinary()
377 Result = std::string(Path.str()); in findDebugBinary()
383 SmallString<128> Path = getDebugPath(Directory); in findDebugBinary() local
384 if (llvm::sys::fs::exists(Path)) { in findDebugBinary()
385 Result = std::string(Path.str()); in findDebugBinary()
404 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
406 getDarwinDWARFResourceForPath(Path, std::string(Filename))); in lookUpDsymFile()
408 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local
409 auto DbgObjOrErr = getOrCreateObject(Path, ArchName); in lookUpDsymFile()
427 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject() argument
435 if (!findDebugBinary(Path, DebuglinkName, CRCHash, Opts.FallbackDebugPath, in lookUpDebuglinkObject()
447 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject() argument
467 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path, in getOrCreateObjectPair() argument
469 auto I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName)); in getOrCreateObjectPair()
473 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair()
475 ObjectPairForPathArch.emplace(std::make_pair(Path, ArchName), in getOrCreateObjectPair()
485 DbgObj = lookUpDsymFile(Path, MachObj, ArchName); in getOrCreateObjectPair()
487 DbgObj = lookUpBuildIDObject(Path, ELFObj, ArchName); in getOrCreateObjectPair()
489 DbgObj = lookUpDebuglinkObject(Path, Obj, ArchName); in getOrCreateObjectPair()
493 ObjectPairForPathArch.emplace(std::make_pair(Path, ArchName), Res); in getOrCreateObjectPair()
498 LLVMSymbolizer::getOrCreateObject(const std::string &Path, in getOrCreateObject() argument
501 auto Pair = BinaryForPath.emplace(Path, OwningBinary<Binary>()); in getOrCreateObject()
505 Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject()
516 auto I = ObjectForUBPathAndArch.find(std::make_pair(Path, ArchName)); in getOrCreateObject()
523 ObjectForUBPathAndArch.emplace(std::make_pair(Path, ArchName), in getOrCreateObject()
528 ObjectForUBPathAndArch.emplace(std::make_pair(Path, ArchName), in getOrCreateObject()