| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 515 assert(OutFile.tell() == HeaderSize); in generateDsymCompanion() 579 assert(OutFile.tell() == SymtabStart); in generateDsymCompanion() 583 OutFile << NewSymtab.str(); in generateDsymCompanion() 584 assert(OutFile.tell() == StringStart); in generateDsymCompanion() 591 OutFile << '\0'; in generateDsymCompanion() 603 assert(OutFile.tell() == EHFrameStart); in generateDsymCompanion() 607 OutFile << EHFrameData; in generateDsymCompanion() 619 uint64_t Pos = OutFile.tell(); in generateDsymCompanion() 628 if (!OutFile.supportsSeeking()) in generateDsymCompanion() 632 uint64_t Pos = OutFile.tell(); in generateDsymCompanion() [all …]
|
| H A D | DwarfLinkerForBinary.h | 37 DwarfLinkerForBinary(raw_fd_ostream &OutFile, BinaryHolder &BinHolder, in DwarfLinkerForBinary() argument 39 : OutFile(OutFile), BinHolder(BinHolder), Options(std::move(Options)) {} in DwarfLinkerForBinary() 196 bool createStreamer(const Triple &TheTriple, raw_fd_ostream &OutFile); 219 raw_fd_ostream &OutFile; variable
|
| H A D | dsymutil.h | 50 bool linkDwarf(raw_fd_ostream &OutFile, BinaryHolder &BinHolder,
|
| H A D | MachOUtils.h | 60 SymbolMapTranslator &Translator, MCStreamer &MS, raw_fd_ostream &OutFile,
|
| H A D | DwarfLinkerForBinary.cpp | 165 raw_fd_ostream &OutFile) { in createStreamer() argument 170 Options.FileType, OutFile, Options.Translator, in createStreamer() 553 if (!createStreamer(Map.getTriple(), OutFile)) in link() 737 *Streamer->getAsmPrinter().OutStreamer, OutFile, RelocationsToApply); in link() 1045 bool linkDwarf(raw_fd_ostream &OutFile, BinaryHolder &BinHolder, in linkDwarf() argument 1047 DwarfLinkerForBinary Linker(OutFile, BinHolder, std::move(Options)); in linkDwarf()
|
| /llvm-project-15.0.7/llvm/tools/llvm-gsymutil/ |
| H A D | llvm-gsymutil.cpp | 313 if (auto Err = Gsym.save(OutFile, Endian)) in handleObjectFile() 319 if (auto Err = DT.verify(OutFile)) in handleObjectFile() 327 const std::string &OutFile) { in handleBuffer() argument 335 if (auto Err = handleObjectFile(*Obj, OutFile)) in handleBuffer() 359 std::string ArchOutFile(OutFile); in handleBuffer() 382 return handleBuffer(Filename, *Buffer, OutFile); in handleFileConversionToGSYM() 388 std::string OutFile = OutputFilename; in convertFileToGSYM() local 389 if (OutFile.empty()) { in convertFileToGSYM() 390 OutFile = ConvertFilename; in convertFileToGSYM() 391 OutFile += ".gsym"; in convertFileToGSYM() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 146 std::function<Error(raw_ostream & OutFile)> ObjcopyFunc; in executeObjcopy() 160 ObjcopyFunc = [&](raw_ostream &OutFile) -> Error { in executeObjcopy() argument 163 OutFile); in executeObjcopy() 166 ObjcopyFunc = [&](raw_ostream &OutFile) -> Error { in executeObjcopy() argument 168 return executeObjcopyOnIHex(ConfigMgr, *MemoryBufferHolder, OutFile); in executeObjcopy() 183 ObjcopyFunc = [&](raw_ostream &OutFile) -> Error { in executeObjcopy() argument 185 OutFile); in executeObjcopy()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 239 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateDebugInfo() argument 240 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateDebugInfo() 264 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveNonDebugInfo() argument 266 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo() 350 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateLinkedDebugInfo() argument 351 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateLinkedDebugInfo() 378 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSingleLinkedDebugInfo() argument 379 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveSingleLinkedDebugInfo() 414 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveCopyOfFile() argument 415 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveCopyOfFile()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwp/ |
| H A D | llvm-dwp.cpp | 174 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); in main() local 179 if (OutFile.os().supportsSeeking()) { in main() 180 OS = &OutFile.os(); in main() 182 BOS.emplace(OutFile.os()); in main() 200 OutFile.keep(); in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFStreamer.h | 47 DwarfStreamer(OutputFileType OutFileType, raw_pwrite_stream &OutFile, in DwarfStreamer() argument 50 : OutFile(OutFile), OutFileType(OutFileType), Translator(Translator), in DwarfStreamer() 196 raw_pwrite_stream &OutFile; variable
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Main.cpp | 149 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain() local 153 OutFile.os() << Out.str(); in TableGenMain() 155 OutFile.keep(); in TableGenMain()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | DataAggregator.cpp | 402 OutFile << FallthroughLBRs.size() << "\n"; in writeAutoFDOData() 411 OutFile << BasicSamples.size() << "\n"; in writeAutoFDOData() 418 OutFile << BranchLBRs.size() << "\n"; in writeAutoFDOData() 2216 OutFile << (Loc.IsSymbol ? "4 " : "3 "); in writeAggregatedFile() 2218 OutFile << (Loc.IsSymbol ? "1 " : "0 "); in writeAggregatedFile() 2227 OutFile << "boltedcollection\n"; in writeAggregatedFile() 2229 OutFile << "no_lbr"; in writeAggregatedFile() 2231 OutFile << " " << Entry.getKey(); in writeAggregatedFile() 2232 OutFile << "\n"; in writeAggregatedFile() 2237 OutFile << SI.Hits << "\n"; in writeAggregatedFile() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | CompileCommands.cpp | 47 llvm::SmallString<64> OutFile; in queryXcrun() local 48 llvm::sys::fs::createTemporaryFile("clangd-xcrun", "", OutFile); in queryXcrun() 49 llvm::FileRemover OutRemover(OutFile); in queryXcrun() 51 /*stdin=*/{""}, /*stdout=*/{OutFile.str()}, /*stderr=*/{""}}; in queryXcrun() 64 auto Buf = llvm::MemoryBuffer::getFile(OutFile); in queryXcrun()
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ToolRunner.h | 122 std::string &OutFile, 177 std::string &OutFile, unsigned Timeout = 0,
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | llvm-rc.cpp | 593 std::string OutFile = createTempFile("preproc", "rc"); in doRc() local 594 TempPreprocFile.setFile(OutFile); in doRc() 595 if (preprocess(Src, OutFile, Opts, Argv0)) in doRc() 596 PreprocessedFile = OutFile; in doRc()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 1363 SmallString<64> OutFile(opts::merge::PdbOutputFile); in mergePdbs() local 1364 if (OutFile.empty()) { in mergePdbs() 1365 OutFile = opts::merge::InputFilenames[0]; in mergePdbs() 1366 llvm::sys::path::replace_extension(OutFile, "merged.pdb"); in mergePdbs() 1370 ExitOnErr(Builder.commit(OutFile, &IgnoredOutGuid)); in mergePdbs() 1416 auto OutFile = ExitOnErr( in exportStream() local 1418 FileBufferByteStream DestStream(std::move(OutFile), llvm::support::little); in exportStream()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 851 std::unique_ptr<llvm::raw_fd_ostream> OutFile; in ExecuteAction() local 855 OutFile.reset(new llvm::raw_fd_ostream(OutputFileName.str(), EC, in ExecuteAction() 857 OutputStream = OutFile.get(); in ExecuteAction()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.h | 90 const InputInfo &Output, const char *OutFile);
|
| H A D | CommonArgs.cpp | 1135 const InputInfo &Output, const char *OutFile) { in SplitDebugInfo() argument 1145 ExtractArgs.push_back(OutFile); in SplitDebugInfo()
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 79 *MC, std::make_unique<formatted_raw_ostream>(OutFile), true, true, MIP, in init() 87 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 74 std::unique_ptr<raw_ostream> OutFile; member in __anon0b56e30a0111::RewriteObjC 581 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(std::move(OS)), in RewriteObjC() 4924 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit() 4935 *OutFile << ResultStr; in HandleTranslationUnit() 4937 OutFile->flush(); in HandleTranslationUnit()
|
| H A D | RewriteModernObjC.cpp | 76 std::unique_ptr<raw_ostream> OutFile; member in __anon21803b4f0111::RewriteModernObjC 648 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(std::move(OS)), in RewriteModernObjC() 5864 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit() 5875 *OutFile << ResultStr; in HandleTranslationUnit() 5881 *OutFile << ResultStr; in HandleTranslationUnit() 5883 OutFile->flush(); in HandleTranslationUnit()
|