Lines Matching refs:PdbPath
93 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) {
95 MemoryBuffer::getFile(PdbPath, /*IsText=*/false,
101 PdbPath = Buffer->getBufferIdentifier();
103 auto EC = identify_magic(PdbPath, Magic);
110 auto File = std::make_unique<PDBFile>(PdbPath, std::move(Stream), *Allocator);
120 Error NativeSession::createFromPdbPath(StringRef PdbPath,
123 auto PdbFile = loadPdbFile(PdbPath, Allocator);
143 StringRef PdbPath;
145 if (Error E = ObjFile->getDebugPDBInfo(PdbInfo, PdbPath))
148 return std::string(PdbPath);
153 Expected<std::string> PdbPath = getPdbPathFromExe(ExePath);
154 if (!PdbPath)
155 return PdbPath.takeError();
158 auto EC = identify_magic(PdbPath.get(), Magic);
163 auto File = loadPdbFile(PdbPath.get(), Allocator);
185 SmallString<128> PdbPath = StringRef(Opts.ExePath);
186 sys::path::remove_filename(PdbPath);
187 sys::path::append(PdbPath, PdbName);
191 if (auto File = loadPdbFile(PdbPath, Allocator))
192 return std::string(PdbPath);