Searched refs:SourceFile (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp19 : SourceFile(DiaSourceFile) {}
23 return (S_OK == SourceFile->get_crc(&Crc)) ? Crc : 0;
28 return (S_OK == SourceFile->get_length(&Size)) ? Size : 0;
32 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_filename);
36 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_objectFilename);
40 return invokeBstrMethod(*SourceFile,
46 if (S_OK != SourceFile->get_sourceCompression(&Compression))
53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr))
57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data()))
H A DDIASourceFile.cpp21 : Session(PDBSession), SourceFile(DiaSourceFile) {}
24 return invokeBstrMethod(*SourceFile, &IDiaSourceFile::get_fileName);
29 return (S_OK == SourceFile->get_uniqueId(&Id)) ? Id : 0;
34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr);
38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]);
46 HRESULT Result = SourceFile->get_checksumType(&Type);
55 HRESULT Result = SourceFile->get_compilands(&DiaEnumerator);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASourceFile.h31 CComPtr<IDiaSourceFile> getDiaFile() const { return SourceFile; }
35 CComPtr<IDiaSourceFile> SourceFile; member in class:llvm::pdb::DIASourceFile
H A DDIAInjectedSource.h32 CComPtr<IDiaInjectedSource> SourceFile; member in class:llvm::pdb::DIAInjectedSource
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A Dgcov.cpp22 static void reportCoverage(StringRef SourceFile, StringRef ObjectDir, argument
29 CoverageFileStem = sys::path::parent_path(SourceFile);
30 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile));
33 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile));
80 FI.print(llvm::outs(), SourceFile, GCNO, GCDA); local
146 for (const auto &SourceFile : SourceFiles)
147 reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV,
H A DCodeCoverage.cpp83 ErrorOr<const MemoryBuffer &> getSourceFile(StringRef SourceFile);
97 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
113 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage,
232 CodeCoverageTool::getSourceFile(StringRef SourceFile) { argument
236 auto Loc = RemappedFilenames.find(SourceFile);
238 SourceFile = Loc->second;
241 if (sys::fs::equivalent(SourceFile, Files.first))
243 auto Buffer = MemoryBuffer::getFile(SourceFile);
245 error(EC.message(), SourceFile);
248 LoadedSourceFiles.emplace_back(SourceFile, st
294 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage) argument
516 writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage, CoveragePrinter *Printer, bool ShowFilenames) argument
[all...]
H A DCoverageExporterJson.cpp175 auto &SourceFile = SourceFiles[I]; local
178 auto File = renderFile(Coverage, SourceFile, FileReport, Options);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp55 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); local
57 if (SourceFile &&
59 Result.FileName = SourceFile->getFileName();
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslerror.c462 FILE *SourceFile = NULL; local
472 SourceFile = Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle;
473 if (!SourceFile)
475 SourceFile = Gbl_Files[ASL_FILE_INPUT].Handle;
478 if (SourceFile)
482 fseek (SourceFile, 0, SEEK_END);
483 FileSize = ftell (SourceFile);
527 Actual = fseek (SourceFile,
538 RActual = fread (&SourceByte, 1, 1, SourceFile);
567 RActual = fread (&SourceByte, 1, 1, SourceFile);
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h831 FileID createFileID(const FileEntry *SourceFile, SourceLocation IncludePos, argument
834 assert(SourceFile && "Null source file!");
836 getOrCreateContentCache(SourceFile, isSystem(FileCharacter));
838 return createFileID(IR, SourceFile->getName(), IncludePos, FileCharacter,
842 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos, argument
846 &SourceFile.getFileEntry(), isSystem(FileCharacter));
848 return createFileID(IR, SourceFile.getName(), IncludePos, FileCharacter,
881 /// Get the FileID for \p SourceFile if it exists. Otherwise, create a
882 /// new FileID for the \p SourceFile.
883 FileID getOrCreateFileID(const FileEntry *SourceFile, argument
934 overrideFileContents(const FileEntry *SourceFile, std::unique_ptr<llvm::MemoryBuffer> Buffer) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h108 /// Looks for a compilation database in all parent paths of file 'SourceFile'
111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp659 void SourceManager::overrideFileContents(const FileEntry *SourceFile, argument
662 const SrcMgr::ContentCache *IR = getOrCreateContentCache(SourceFile);
668 getOverriddenFilesInfo().OverriddenFilesWithBuffer.insert(SourceFile);
671 void SourceManager::overrideFileContents(const FileEntry *SourceFile, argument
673 assert(SourceFile->getSize() == NewFile->getSize() &&
676 assert(FileInfos.count(SourceFile) == 0 &&
679 getOverriddenFilesInfo().OverriddenFiles[SourceFile] = NewFile;
1569 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, argument
1572 assert(SourceFile && "Null source file!");
1575 FileID FirstFID = translateFile(SourceFile);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h637 UdtSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, uint32_t LineNumber) argument
639 SourceFile(SourceFile), LineNumber(LineNumber) {}
642 TypeIndex getSourceFile() const { return SourceFile; }
646 TypeIndex SourceFile; member in class:llvm::codeview::UdtSourceLineRecord
655 UdtModSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, argument
658 SourceFile(SourceFile), LineNumber(LineNumber), Module(Module) {}
661 TypeIndex getSourceFile() const { return SourceFile; }
666 TypeIndex SourceFile; member in class:llvm::codeview::UdtModSourceLineRecord
686 SourceFile, ///< Path to main source file, relative or absolute enumerator in enum:llvm::codeview::BuildInfoRecord::BuildInfoArg
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp106 CompilationDatabase::autoDetectFromSource(StringRef SourceFile, argument
108 SmallString<1024> AbsolutePath(getAbsolutePath(SourceFile));
116 SourceFile + "\"\n" + ErrorMessage).str();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp613 static SmallBitVector gatherFileIDs(StringRef SourceFile,
617 if (SourceFile == Function.Filenames[I])
634 /// Check if SourceFile is the file that contains the definition of
636 static Optional<unsigned> findMainViewFileID(StringRef SourceFile,
639 if (I && SourceFile == Function.Filenames[*I])
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp458 U.SourceFile.getIndex(), U.LineNumber);
465 U.SourceFile.getIndex(), U.LineNumber);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp510 error(IO.mapInteger(Record.SourceFile, "SourceFile"));
519 error(IO.mapInteger(Record.SourceFile, "SourceFile"));
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DSymbol.cpp354 ENUM_TO_CSTRING(SourceFile);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp571 IO.mapRequired("SourceFile", Record.SourceFile);
577 IO.mapRequired("SourceFile", Record.SourceFile);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp832 BuildInfoArgs[BuildInfoRecord::SourceFile] =

Completed in 499 milliseconds