Lines Matching refs:PdbPath
84 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) { in loadPdbFile() argument
86 MemoryBuffer::getFile(PdbPath, /*FileSize=*/-1, in loadPdbFile()
92 PdbPath = Buffer->getBufferIdentifier(); in loadPdbFile()
94 auto EC = identify_magic(PdbPath, Magic); in loadPdbFile()
101 auto File = std::make_unique<PDBFile>(PdbPath, std::move(Stream), *Allocator); in loadPdbFile()
111 Error NativeSession::createFromPdbPath(StringRef PdbPath, in createFromPdbPath() argument
114 auto PdbFile = loadPdbFile(PdbPath, Allocator); in createFromPdbPath()
134 StringRef PdbPath; in getPdbPathFromExe() local
136 if (Error E = ObjFile->getDebugPDBInfo(PdbInfo, PdbPath)) in getPdbPathFromExe()
139 return std::string(PdbPath); in getPdbPathFromExe()
144 Expected<std::string> PdbPath = getPdbPathFromExe(ExePath); in createFromExe() local
145 if (!PdbPath) in createFromExe()
146 return PdbPath.takeError(); in createFromExe()
149 auto EC = identify_magic(PdbPath.get(), Magic); in createFromExe()
154 auto File = loadPdbFile(PdbPath.get(), Allocator); in createFromExe()
176 SmallString<128> PdbPath = StringRef(Opts.ExePath); in searchForPdb() local
177 sys::path::remove_filename(PdbPath); in searchForPdb()
178 sys::path::append(PdbPath, PdbName); in searchForPdb()
182 if (auto File = loadPdbFile(PdbPath, Allocator)) in searchForPdb()
183 return std::string(PdbPath); in searchForPdb()