Lines Matching refs:File
39 llvm::pdb::getModuleDebugStream(PDBFile &File, StringRef &ModuleName,
41 Expected<DbiStream &> DbiOrErr = File.getPDBDbiStream();
59 auto ModStreamData = File.createIndexedStream(ModiStream);
69 Expected<ModuleDebugStreamRef> llvm::pdb::getModuleDebugStream(PDBFile &File,
71 Expected<DbiStream &> DbiOrErr = File.getPDBDbiStream();
83 auto ModStreamData = File.createIndexedStream(ModiStream);
157 SymbolGroup::SymbolGroup(InputFile *File, uint32_t GroupIndex) : File(File) {
158 if (!File)
161 if (File->isPdb())
166 for (const auto &S : File->obj().sections()) {
193 assert(File && File->isPdb());
198 auto StringTable = File->pdb().getStringTable();
206 auto MDS = getModuleDebugStream(File->pdb(), Name, Modi);
231 assert(File && File->isPdb() && DebugStream);
259 void SymbolGroup::formatFromFileName(LinePrinter &Printer, StringRef File,
261 auto FC = ChecksumsByFile.find(File);
263 formatInternal(Printer, Append, "- (no checksum) {0}", File);
269 toHex(FC->getValue().Checksum), File);
304 return make_error<StringError>(formatv("File {0} not found", Path),
335 formatv("File {0} is not a supported file type", Path),
342 formatv("File {0} could not be opened", Path), Result.getError());
486 SymbolGroupIterator::SymbolGroupIterator(InputFile &File) : Value(&File) {
487 if (File.isObj()) {
488 SectionIter = File.obj().section_begin();
499 if (Value.File != R.Value.File)
514 assert(Value.File && !isEnd());
519 if (Value.File->isPdb()) {
530 auto End = Value.File->obj().section_end();
546 if (!Value.File)
548 if (Value.File->isPdb()) {
549 DbiStream &Dbi = cantFail(Value.File->pdb().getPDBDbiStream());
556 return *SectionIter == Value.File->obj().section_end();