/freebsd/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/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBContext.cpp | 57 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/contrib/llvm-project/llvm/tools/llvm-cov/ |
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() 80 gcovOneInput(Options, SourceFile, GCNO, GCDA, GF); in reportCoverage() 174 for (const auto &SourceFile : SourceFiles) in gcovMain() 175 reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV, in gcovMain() 176 for (const auto &SourceFile : SourceFiles) gcovMain() local
|
H A D | CodeCoverage.cpp | 95 ErrorOr<const MemoryBuffer &> getSourceFile(StringRef SourceFile); 117 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage); 133 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage, 284 CodeCoverageTool::getSourceFile(StringRef SourceFile) { in getSourceFile() argument 288 auto Loc = RemappedFilenames.find(SourceFile); in getSourceFile() 290 SourceFile = Loc->second; in getSourceFile() 293 if (isEquivalentFile(SourceFile, Files.first)) in getSourceFile() 295 auto Buffer = MemoryBuffer::getFile(SourceFile); in getSourceFile() 297 error(EC.message(), SourceFile); in getSourceFile() 300 LoadedSourceFiles.emplace_back(std::string(SourceFile), in getSourceFile() [all …]
|
H A D | CoverageExporterJson.cpp | 285 auto &SourceFile = SourceFiles[I]; in renderFiles() local 288 auto File = renderFile(Coverage, SourceFile, FileReport, Options); in renderFiles()
|
/freebsd/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/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/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 362 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() argument 365 return FE->getUID() == SourceFile.getUID(); in isMainFile() 546 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID() argument 551 SrcMgr::ContentCache &IR = getOrCreateContentCache(SourceFile, in createFileID() 559 return createFileIDImpl(IR, SourceFile.getName(), IncludePos, FileCharacter, in createFileID() 593 SourceManager::getOrCreateFileID(FileEntryRef SourceFile, in getOrCreateFileID() argument 595 FileID ID = translateFile(SourceFile); in getOrCreateFileID() 596 return ID.isValid() ? ID : createFileID(SourceFile, SourceLocation(), in getOrCreateFileID() 703 FileEntryRef SourceFile, std::unique_ptr<llvm::MemoryBuffer> Buffer) { in overrideFileContents() argument 704 SrcMgr::ContentCache &IR = getOrCreateContentCache(SourceFile); in overrideFileContents() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 898 bool isMainFile(const FileEntry &SourceFile); 915 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos, 940 FileID getOrCreateFileID(FileEntryRef SourceFile, 992 void overrideFileContents(FileEntryRef SourceFile, in overrideFileContents() argument 994 overrideFileContents(SourceFile, llvm::MemoryBuffer::getMemBuffer(Buffer)); in overrideFileContents() 1004 void overrideFileContents(FileEntryRef SourceFile, 1013 void overrideFileContents(const FileEntry *SourceFile, FileEntryRef NewFile); 1034 void setFileIsTransient(FileEntryRef SourceFile); 1635 SourceLocation translateFileLineCol(const FileEntry *SourceFile, 1642 FileID translateFile(const FileEntry *SourceFile) const; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeRecord.h | 632 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/contrib/llvm-project/clang/lib/APINotes/ |
H A D | APINotesYAMLCompiler.cpp | 667 YAMLConverter(const Module &TheModule, const FileEntry *SourceFile, in YAMLConverter() argument 671 : M(TheModule), Writer(TheModule.Name, SourceFile), OS(OS), in YAMLConverter() 1115 static bool compile(const Module &M, const FileEntry *SourceFile, in compile() argument 1119 YAMLConverter C(M, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compile() 1129 const FileEntry *SourceFile, in compileAPINotes() argument 1141 return compile(TheModule, SourceFile, OS, DiagHandler, DiagHandlerCtxt); in compileAPINotes()
|
H A D | APINotesWriter.cpp | 30 const FileEntry *SourceFile; member in clang::api_notes::APINotesWriter::Implementation 170 : ModuleName(std::string(ModuleName)), SourceFile(SF) {} in Implementation() 282 if (SourceFile) { in writeControlBlock() 283 control_block::SourceFileLayout SourceFile(Stream); in writeControlBlock() local 284 SourceFile.emit(Scratch, this->SourceFile->getSize(), in writeControlBlock() 285 this->SourceFile->getModificationTime()); in writeControlBlock()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | CompilationDatabase.h | 111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMapping.cpp | 1361 static SmallBitVector gatherFileIDs(StringRef SourceFile, in gatherFileIDs() argument 1365 if (SourceFile == Function.Filenames[I]) in gatherFileIDs() 1387 findMainViewFileID(StringRef SourceFile, const FunctionRecord &Function) { in findMainViewFileID() argument 1389 if (I && SourceFile == Function.Filenames[*I]) in findMainViewFileID()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | MinimalTypeDumper.cpp | 464 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord() 471 U.SourceFile.getIndex(), U.LineNumber); in visitKnownRecord()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordMapping.cpp | 555 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord() 564 error(IO.mapInteger(Record.SourceFile, "SourceFile")); in visitKnownRecord()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLTypes.cpp | 580 IO.mapRequired("SourceFile", Record.SourceFile); in map() 586 IO.mapRequired("SourceFile", Record.SourceFile); in map()
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | Options.td | 123 Completion<"SourceFile">, Groups<[1,3,4,5,6,7,8,9,11]>, 214 Required, Completion<"SourceFile">, 226 Completion<"SourceFile">, 851 Completion<"SourceFile">, Desc<"The file from which to display source.">; 874 Completion<"SourceFile">, Desc<"The file from which to display source.">; 886 Arg<"FileLineColumn">, Completion<"SourceFile">, 1020 "is to be run.">, Completion<"SourceFile">; 1103 Completion<"SourceFile">, Desc<"Specifies the source file to jump to.">;
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | Symbol.cpp | 409 ENUM_TO_CSTRING(SourceFile); in GetTypeAsString()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewVisitor.cpp | 561 TI = Args.getArgs()[BuildInfoRecord::BuildInfoArg::SourceFile]; in visitKnownRecord() 1966 TypeIndex TIName = BI.getArgs()[BuildInfoRecord::BuildInfoArg::SourceFile]; in visitKnownRecord()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 945 BuildInfoArgs[BuildInfoRecord::SourceFile] = in emitBuildInfo()
|