Home
last modified time | relevance | path

Searched refs:SourceFile (Results 1 – 25 of 25) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp19 : SourceFile(DiaSourceFile) {} in DIAInjectedSource()
23 return (S_OK == SourceFile->get_crc(&Crc)) ? Crc : 0; in getCrc32()
28 return (S_OK == SourceFile->get_length(&Size)) ? Size : 0; in getCodeByteSize()
32 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_filename); in getFileName()
36 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_objectFilename); in getObjectFileName()
40 return invokeBstrMethod(*SourceFile, in getVirtualFileName()
46 if (S_OK != SourceFile->get_sourceCompression(&Compression)) in getCompression()
53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode()
57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
H A DDIASourceFile.cpp21 : Session(PDBSession), SourceFile(DiaSourceFile) {} in DIASourceFile()
24 return invokeBstrMethod(*SourceFile, &IDiaSourceFile::get_fileName); in getFileName()
29 return (S_OK == SourceFile->get_uniqueId(&Id)) ? Id : 0; in getUniqueId()
34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum()
38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
46 HRESULT Result = SourceFile->get_checksumType(&Type); in getChecksumType()
55 HRESULT Result = SourceFile->get_compilands(&DiaEnumerator); in getCompilands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp57 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress() local
59 if (SourceFile && in getLineInfoForAddress()
61 Result.FileName = SourceFile->getFileName(); in getLineInfoForAddress()
125 auto SourceFile = Session->getSourceFileById(Line->getSourceFileId()); in getInliningInfoForAddress() local
126 if (SourceFile && in getInliningInfoForAddress()
128 LineInfo.FileName = SourceFile->getFileName(); in getInliningInfoForAddress()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp287 CodeCoverageTool::getSourceFile(StringRef SourceFile) { in getSourceFile() argument
291 auto Loc = RemappedFilenames.find(SourceFile); in getSourceFile()
293 SourceFile = Loc->second; in getSourceFile()
296 if (isEquivalentFile(SourceFile, Files.first)) in getSourceFile()
298 auto Buffer = MemoryBuffer::getFile(SourceFile); in getSourceFile()
300 error(EC.message(), SourceFile); in getSourceFile()
303 LoadedSourceFiles.emplace_back(std::string(SourceFile), in getSourceFile()
419 auto SourceBuffer = getSourceFile(SourceFile); in createSourceFileView()
1175 for (const auto &SourceFile : SourceFiles) in doShow() local
1223 for (const std::string &SourceFile : SourceFiles) in doShow() local
[all …]
H A Dgcov.cpp22 static void reportCoverage(StringRef SourceFile, StringRef ObjectDir, in reportCoverage() argument
29 CoverageFileStem = sys::path::parent_path(SourceFile); in reportCoverage()
30 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile)); in reportCoverage()
33 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile)); in reportCoverage()
80 gcovOneInput(Options, SourceFile, GCNO, GCDA, GF); in reportCoverage()
174 for (const auto &SourceFile : SourceFiles) in gcovMain() local
175 reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV, in gcovMain()
H A DCoverageExporterJson.cpp285 auto &SourceFile = SourceFiles[I]; in renderFiles() local
288 auto File = renderFile(Coverage, SourceFile, FileReport, Options); in renderFiles()
/freebsd-14.2/sys/contrib/dev/acpica/compiler/
H A Daslerror.c470 FILE *SourceFile = NULL; in AePrintErrorSourceLine() local
480 SourceFile = FlGetFileHandle (ASL_FILE_SOURCE_OUTPUT, in AePrintErrorSourceLine()
482 if (!SourceFile) in AePrintErrorSourceLine()
484 SourceFile = FlGetFileHandle (ASL_FILE_INPUT, in AePrintErrorSourceLine()
488 if (SourceFile) in AePrintErrorSourceLine()
492 fseek (SourceFile, 0, SEEK_END); in AePrintErrorSourceLine()
493 FileSize = ftell (SourceFile); in AePrintErrorSourceLine()
538 Actual = fseek (SourceFile, in AePrintErrorSourceLine()
549 RActual = fread (&SourceByte, 1, 1, SourceFile); in AePrintErrorSourceLine()
579 RActual = fread (&SourceByte, 1, 1, SourceFile); in AePrintErrorSourceLine()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASourceFile.h31 CComPtr<IDiaSourceFile> getDiaFile() const { return SourceFile; } in getDiaFile()
35 CComPtr<IDiaSourceFile> SourceFile; variable
H A DDIAInjectedSource.h32 CComPtr<IDiaInjectedSource> SourceFile;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h894 bool isMainFile(const FileEntry &SourceFile);
911 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos,
936 FileID getOrCreateFileID(FileEntryRef SourceFile,
988 void overrideFileContents(FileEntryRef SourceFile, in overrideFileContents() argument
1000 void overrideFileContents(FileEntryRef SourceFile,
1030 void setFileIsTransient(FileEntryRef SourceFile);
1631 SourceLocation translateFileLineCol(const FileEntry *SourceFile,
1638 FileID translateFile(const FileEntry *SourceFile) const;
1639 FileID translateFile(FileEntryRef SourceFile) const { in translateFile() argument
1640 return translateFile(&SourceFile.getFileEntry()); in translateFile()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp354 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() argument
357 return FE->getUID() == SourceFile.getUID(); in isMainFile()
533 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID() argument
580 SourceManager::getOrCreateFileID(FileEntryRef SourceFile, in getOrCreateFileID() argument
582 FileID ID = translateFile(SourceFile); in getOrCreateFileID()
699 assert(SourceFile->getSize() == NewFile.getSize() && in overrideFileContents()
702 assert(FileInfos.find_as(SourceFile) == FileInfos.end() && in overrideFileContents()
707 std::make_pair(SourceFile, NewFile)); in overrideFileContents()
1584 assert(SourceFile && "Null source file!"); in translateFileLineCol()
1587 FileID FirstFID = translateFile(SourceFile); in translateFileLineCol()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h632 UdtSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, uint32_t LineNumber) in UdtSourceLineRecord() argument
634 SourceFile(SourceFile), LineNumber(LineNumber) {} in UdtSourceLineRecord()
637 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile()
641 TypeIndex SourceFile; variable
650 UdtModSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, in UdtModSourceLineRecord() argument
653 SourceFile(SourceFile), LineNumber(LineNumber), Module(Module) {} in UdtModSourceLineRecord()
656 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile()
661 TypeIndex SourceFile; variable
681 SourceFile, ///< Path to main source file, relative or absolute enumerator
/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesYAMLCompiler.h28 bool compileAPINotes(llvm::StringRef YAMLInput, const FileEntry *SourceFile,
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp104 CompilationDatabase::autoDetectFromSource(StringRef SourceFile, in autoDetectFromSource() argument
106 SmallString<1024> AbsolutePath(getAbsolutePath(SourceFile)); in autoDetectFromSource()
114 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp663 YAMLConverter(const Module &TheModule, const FileEntry *SourceFile, in YAMLConverter() argument
667 : M(TheModule), Writer(TheModule.Name, SourceFile), OS(OS), in YAMLConverter()
1086 static bool compile(const Module &M, const FileEntry *SourceFile, in compile() argument
1090 YAMLConverter C(M, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compile()
1100 const FileEntry *SourceFile, in compileAPINotes() argument
1112 return compile(TheModule, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compileAPINotes()
H A DAPINotesWriter.cpp30 const FileEntry *SourceFile; member in clang::api_notes::APINotesWriter::Implementation
161 : ModuleName(std::string(ModuleName)), SourceFile(SF) {} in Implementation()
272 if (SourceFile) { in writeControlBlock()
273 control_block::SourceFileLayout SourceFile(Stream); in writeControlBlock() local
274 SourceFile.emit(Scratch, this->SourceFile->getSize(), in writeControlBlock()
275 this->SourceFile->getModificationTime()); in writeControlBlock()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp1306 static SmallBitVector gatherFileIDs(StringRef SourceFile, in gatherFileIDs() argument
1310 if (SourceFile == Function.Filenames[I]) in gatherFileIDs()
1332 findMainViewFileID(StringRef SourceFile, const FunctionRecord &Function) { in findMainViewFileID() argument
1334 if (I && SourceFile == Function.Filenames[*I]) in findMainViewFileID()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp463 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord()
470 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp555 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord()
564 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/lldb/source/Commands/
H A DOptions.td123 Completion<"SourceFile">, Groups<[1,3,4,5,6,7,8,9,11]>,
214 Required, Completion<"SourceFile">,
226 Completion<"SourceFile">,
845 Completion<"SourceFile">, Desc<"The file from which to display source.">;
868 Completion<"SourceFile">, Desc<"The file from which to display source.">;
880 Arg<"FileLineColumn">, Completion<"SourceFile">,
1014 "is to be run.">, Completion<"SourceFile">;
1097 Completion<"SourceFile">, Desc<"Specifies the source file to jump to.">;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp579 IO.mapRequired("SourceFile", Record.SourceFile); in map()
585 IO.mapRequired("SourceFile", Record.SourceFile); in map()
/freebsd-14.2/contrib/llvm-project/lldb/source/Symbol/
H A DSymbol.cpp413 ENUM_TO_CSTRING(SourceFile); in GetTypeAsString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp561 TI = Args.getArgs()[BuildInfoRecord::BuildInfoArg::SourceFile]; in visitKnownRecord()
1966 TypeIndex TIName = BI.getArgs()[BuildInfoRecord::BuildInfoArg::SourceFile]; in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp945 BuildInfoArgs[BuildInfoRecord::SourceFile] = in emitBuildInfo()