Lines Matching defs:PdbPath
91 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) {
93 MemoryBuffer::getFile(PdbPath, /*IsText=*/false,
99 PdbPath = Buffer->getBufferIdentifier();
101 auto EC = identify_magic(PdbPath, Magic);
108 auto File = std::make_unique<PDBFile>(PdbPath, std::move(Stream), *Allocator);
118 Error NativeSession::createFromPdbPath(StringRef PdbPath,
121 auto PdbFile = loadPdbFile(PdbPath, Allocator);
141 StringRef PdbPath;
143 if (Error E = ObjFile->getDebugPDBInfo(PdbInfo, PdbPath))
146 return std::string(PdbPath);
151 Expected<std::string> PdbPath = getPdbPathFromExe(ExePath);
152 if (!PdbPath)
153 return PdbPath.takeError();
156 auto EC = identify_magic(PdbPath.get(), Magic);
161 auto File = loadPdbFile(PdbPath.get(), Allocator);
183 SmallString<128> PdbPath = StringRef(Opts.ExePath);
184 sys::path::remove_filename(PdbPath);
185 sys::path::append(PdbPath, PdbName);
189 if (auto File = loadPdbFile(PdbPath, Allocator))
190 return std::string(PdbPath);