| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIAInjectedSource.cpp | 19 : 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 D | DIASourceFile.cpp | 21 : 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-13.1/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 273 CodeCoverageTool::getSourceFile(StringRef SourceFile) { in getSourceFile() argument 277 auto Loc = RemappedFilenames.find(SourceFile); in getSourceFile() 279 SourceFile = Loc->second; in getSourceFile() 282 if (isEquivalentFile(SourceFile, Files.first)) in getSourceFile() 284 auto Buffer = MemoryBuffer::getFile(SourceFile); in getSourceFile() 286 error(EC.message(), SourceFile); in getSourceFile() 289 LoadedSourceFiles.emplace_back(std::string(SourceFile), in getSourceFile() 371 auto SourceBuffer = getSourceFile(SourceFile); in createSourceFileView() 1018 for (const auto &SourceFile : SourceFiles) in doShow() local 1066 for (const std::string &SourceFile : SourceFiles) in doShow() local [all …]
|
| H A D | gcov.cpp | 22 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() 82 gcovOneInput(Options, SourceFile, GCNO, GCDA, GF); in reportCoverage() 176 for (const auto &SourceFile : SourceFiles) in gcovMain() local 177 reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV, in gcovMain()
|
| H A D | CoverageExporterJson.cpp | 245 auto &SourceFile = SourceFiles[I]; in renderFiles() local 248 auto File = renderFile(Coverage, SourceFile, FileReport, Options); in renderFiles()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBContext.cpp | 55 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress() local 57 if (SourceFile && in getLineInfoForAddress() 59 Result.FileName = SourceFile->getFileName(); in getLineInfoForAddress() 116 auto SourceFile = Session->getSourceFileById(Line->getSourceFileId()); in getInliningInfoForAddress() local 117 if (SourceFile && in getInliningInfoForAddress() 119 LineInfo.FileName = SourceFile->getFileName(); in getInliningInfoForAddress()
|
| /freebsd-13.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslerror.c | 470 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-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/ |
| H A D | DIASourceFile.h | 31 CComPtr<IDiaSourceFile> getDiaFile() const { return SourceFile; } in getDiaFile() 35 CComPtr<IDiaSourceFile> SourceFile; variable
|
| H A D | DIAInjectedSource.h | 32 CComPtr<IDiaInjectedSource> SourceFile;
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 850 bool isMainFile(const FileEntry &SourceFile); 899 FileID getOrCreateFileID(const FileEntry *SourceFile, 947 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() argument 959 void overrideFileContents(const FileEntry *SourceFile, 961 void overrideFileContents(FileEntryRef SourceFile, in overrideFileContents() argument 972 void overrideFileContents(const FileEntry *SourceFile, 995 void setFileIsTransient(const FileEntry *SourceFile); 1588 SourceLocation translateFileLineCol(const FileEntry *SourceFile, 1595 FileID translateFile(const FileEntry *SourceFile) const; 1596 FileID translateFile(FileEntryRef SourceFile) const { in translateFile() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 354 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() argument 357 return FE->getUID() == SourceFile.getUID(); in isMainFile() 532 FileID SourceManager::createFileID(const FileEntry *SourceFile, in createFileID() argument 541 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID() argument 588 SourceManager::getOrCreateFileID(const FileEntry *SourceFile, in getOrCreateFileID() argument 590 FileID ID = translateFile(SourceFile); in getOrCreateFileID() 701 assert(SourceFile->getSize() == NewFile->getSize() && in overrideFileContents() 704 assert(FileInfos.count(SourceFile) == 0 && in overrideFileContents() 1646 assert(SourceFile && "Null source file!"); in translateFileLineCol() 1649 FileID FirstFID = translateFile(SourceFile); in translateFileLineCol() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 631 UdtSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, uint32_t LineNumber) in UdtSourceLineRecord() argument 633 SourceFile(SourceFile), LineNumber(LineNumber) {} in UdtSourceLineRecord() 636 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile() 640 TypeIndex SourceFile; variable 649 UdtModSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, in UdtModSourceLineRecord() argument 652 SourceFile(SourceFile), LineNumber(LineNumber), Module(Module) {} in UdtModSourceLineRecord() 655 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile() 660 TypeIndex SourceFile; variable 680 SourceFile, ///< Path to main source file, relative or absolute enumerator
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | CompilationDatabase.cpp | 104 CompilationDatabase::autoDetectFromSource(StringRef SourceFile, in autoDetectFromSource() argument 106 SmallString<1024> AbsolutePath(getAbsolutePath(SourceFile)); in autoDetectFromSource() 114 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | CompilationDatabase.h | 111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMapping.cpp | 666 static SmallBitVector gatherFileIDs(StringRef SourceFile, in gatherFileIDs() argument 670 if (SourceFile == Function.Filenames[I]) in gatherFileIDs() 689 static Optional<unsigned> findMainViewFileID(StringRef SourceFile, in findMainViewFileID() argument 692 if (I && SourceFile == Function.Filenames[*I]) in findMainViewFileID()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalTypeDumper.cpp | 459 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord() 466 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 536 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord() 545 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | Options.td | 114 Completion<"SourceFile">, Groups<[1,3,4,5,6,7,8,9,11]>, 205 Required, Completion<"SourceFile">, 217 Completion<"SourceFile">, 787 Completion<"SourceFile">, Desc<"The file from which to display source.">; 810 Completion<"SourceFile">, Desc<"The file from which to display source.">; 822 Arg<"FileLineColumn">, Completion<"SourceFile">, 953 "is to be run.">, Completion<"SourceFile">; 1036 Completion<"SourceFile">, Desc<"Specifies the source file to jump to.">;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.cpp | 576 IO.mapRequired("SourceFile", Record.SourceFile); in map() 582 IO.mapRequired("SourceFile", Record.SourceFile); in map()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | Symbol.cpp | 355 ENUM_TO_CSTRING(SourceFile); in GetTypeAsString()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 866 BuildInfoArgs[BuildInfoRecord::SourceFile] = in emitBuildInfo()
|