Lines Matching defs:Path
33 #include "llvm/Support/Path.h"
294 // For Path="/path/to/foo" and Basename="foo" assume that debug info is in
296 // For Path="/path/to/bar.dSYM" and Basename="foo" assume that debug info is in
298 std::string getDarwinDWARFResourceForPath(const std::string &Path,
300 SmallString<16> ResourceName = StringRef(Path);
301 if (sys::path::extension(Path) != ".dSYM") {
309 bool checkFileCRC(StringRef Path, uint32_t CRCHash) {
311 MemoryBuffer::getFileOrSTDIN(Path);
369 for (const auto &Path : Opts.DsymHints) {
371 getDarwinDWARFResourceForPath(Path, std::string(Filename)));
373 for (const auto &Path : DsymPaths) {
374 auto DbgObjOrErr = getOrCreateObject(Path, ArchName);
392 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path,
400 if (!findDebugBinary(Path, DebuglinkName, CRCHash, DebugBinaryPath))
411 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path,
487 if (std::optional<std::string> Path = BIDFetcher->fetch(BuildID)) {
488 Result = *Path;
499 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path,
501 auto I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName));
503 recordAccess(BinaryForPath.find(Path)->second);
507 auto ObjOrErr = getOrCreateObject(Path, ArchName);
509 ObjectPairForPathArch.emplace(std::make_pair(Path, ArchName),
519 DbgObj = lookUpDsymFile(Path, MachObj, ArchName);
521 DbgObj = lookUpBuildIDObject(Path, ELFObj, ArchName);
523 DbgObj = lookUpDebuglinkObject(Path, Obj, ArchName);
529 ObjectPairForPathArch.emplace(std::make_pair(Path, ArchName), Res);
537 LLVMSymbolizer::getOrCreateObject(const std::string &Path,
540 auto Pair = BinaryForPath.emplace(Path, OwningBinary<Binary>());
545 Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path);
561 auto I = ObjectForUBPathAndArch.find(std::make_pair(Path, ArchName));
568 ObjectForUBPathAndArch.emplace(std::make_pair(Path, ArchName),
573 auto Pair = ObjectForUBPathAndArch.emplace(std::make_pair(Path, ArchName),
575 BinaryForPath.find(Path)->second.pushEvictor(
705 std::string Path;
706 if (!getOrFindDebugBinary(BuildID, Path)) {
710 return getOrCreateModuleInfo(Path);