Lines Matching refs:Path

33 #include "llvm/Support/Path.h"
119 // For Path="/path/to/foo" and Basename="foo" assume that debug info is in
121 // For Path="/path/to/bar.dSYM" and Basename="foo" assume that debug info is in
125 const std::string &Path, const std::string &Basename) {
126 SmallString<16> ResourceName = StringRef(Path);
127 if (sys::path::extension(Path) != ".dSYM") {
135 static bool checkFileCRC(StringRef Path, uint32_t CRCHash) {
137 MemoryBuffer::getFileOrSTDIN(Path);
225 for (const auto &Path : Opts.DsymHints) {
226 DsymPaths.push_back(getDarwinDWARFResourceForPath(Path, Filename));
228 for (const auto &Path : DsymPaths) {
229 auto DbgObjOrErr = getOrCreateObject(Path, ArchName);
242 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path,
250 if (!findDebugBinary(Path, DebuglinkName, CRCHash, DebugBinaryPath))
259 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path,
261 const auto &I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName));
265 auto ObjOrErr = getOrCreateObject(Path, ArchName);
268 std::make_pair(std::make_pair(Path, ArchName), EC));
277 DbgObj = lookUpDsymFile(Path, MachObj, ArchName);
279 DbgObj = lookUpDebuglinkObject(Path, Obj, ArchName);
284 std::make_pair(std::make_pair(Path, ArchName), Res));
289 LLVMSymbolizer::getOrCreateObject(const std::string &Path,
291 const auto &I = BinaryForPath.find(Path);
294 ErrorOr<OwningBinary<Binary>> BinOrErr = createBinary(Path);
296 BinaryForPath.insert(std::make_pair(Path, EC));
300 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get())));
310 const auto &I = ObjectForUBPathAndArch.find(std::make_pair(Path, ArchName));
320 std::make_pair(std::make_pair(Path, ArchName), EC));
324 ObjectForUBPathAndArch.insert(std::make_pair(std::make_pair(Path, ArchName),