Home
last modified time | relevance | path

Searched refs:OutFile (Results 1 – 22 of 22) sorted by relevance

/llvm-project/llvm/tools/dsymutil/
H A DMachOUtils.cpp371 // by \a DM to \a OutFile. The passed \a MS MCStreamer is setup to write to
372 // \a OutFile and it must be using a MachObjectWriter object to do so.
375 MCStreamer &MS, raw_fd_ostream &OutFile, in generateDsymCompanion() argument
530 assert(OutFile.tell() == HeaderSize); in generateDsymCompanion()
534 OutFile.write(reinterpret_cast<const char *>(UUIDCmd.uuid), 16); in generateDsymCompanion()
535 assert(OutFile.tell() == HeaderSize + sizeof(UUIDCmd)); in generateDsymCompanion()
592 assert(OutFile.tell() == LoadCommandSize + HeaderSize); in generateDsymCompanion()
593 OutFile.write_zeros(SymtabStart - (LoadCommandSize + HeaderSize)); in generateDsymCompanion()
594 assert(OutFile.tell() == SymtabStart); in generateDsymCompanion()
598 OutFile << NewSymta in generateDsymCompanion()
[all...]
H A DDwarfLinkerForBinary.h75 DwarfLinkerForBinary(raw_fd_ostream &OutFile, BinaryHolder &BinHolder, in DwarfLinkerForBinary() argument
77 : OutFile(OutFile), BinHolder(BinHolder), Options(std::move(Options)), in DwarfLinkerForBinary()
238 raw_fd_ostream &OutFile);
272 raw_fd_ostream &OutFile; variable
H A DMachOUtils.h60 MCStreamer &MS, raw_fd_ostream &OutFile,
H A DDwarfLinkerForBinary.cpp649 Map.getTriple(), ObjectType, OutFile, in linkImpl()
865 Options.VFS, Map, *Streamer->getAsmPrinter().OutStreamer, OutFile, in linkImpl()
/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp146 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/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp347 static llvm::Error handleObjectFile(ObjectFile &Obj, const std::string &OutFile, in handleObjectFile()
428 if (auto Err = Gsym.save(OutFile, Endian, OptSegmentSize)) in handleBuffer()
434 if (auto Err = DT.verify(OutFile, Out)) in handleBuffer()
442 const std::string &OutFile, in handleFileConversionToGSYM()
450 outs() << "Output file (" << ArchName << "): " << OutFile << "\n"; in handleFileConversionToGSYM()
451 if (auto Err = handleObjectFile(*Obj, OutFile, Out))
475 std::string ArchOutFile(OutFile); in convertFileToGSYM()
493 const std::string &OutFile, in doLookup()
499 return handleBuffer(Filename, *Buffer, OutFile, Out);
505 std::string OutFile in llvm_gsymutil_main()
309 handleObjectFile(ObjectFile & Obj,const std::string & OutFile,OutputAggregator & Out) handleObjectFile() argument
392 handleBuffer(StringRef Filename,MemoryBufferRef Buffer,const std::string & OutFile,OutputAggregator & Out) handleBuffer() argument
443 handleFileConversionToGSYM(StringRef Filename,const std::string & OutFile,OutputAggregator & Out) handleFileConversionToGSYM() argument
455 std::string OutFile = OutputFilename; convertFileToGSYM() local
[all...]
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.h51 raw_pwrite_stream &OutFile) in DwarfEmitterImpl() argument
52 : OutFile(OutFile), OutFileType(OutFileType) {} in DwarfEmitterImpl()
121 raw_pwrite_stream &OutFile; variable
H A DDWARFEmitterImpl.cpp85 *MC, std::make_unique<formatted_raw_ostream>(OutFile), MIP, in init()
93 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp262 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateDebugInfo()
263 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateDebugInfo()
287 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveNonDebugInfo()
289 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo()
373 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateLinkedDebugInfo()
374 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateLinkedDebugInfo()
401 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSingleLinkedDebugInfo()
402 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveSingleLinkedDebugInfo()
437 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveCopyOfFile()
438 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveCopyOfFile()
260 __anond65850400202(raw_ostream &OutFile) saveSeparateDebugInfo() argument
285 __anond65850400302(raw_ostream &OutFile) saveNonDebugInfo() argument
371 __anond65850400402(raw_ostream &OutFile) saveSeparateLinkedDebugInfo() argument
399 __anond65850400502(raw_ostream &OutFile) saveSingleLinkedDebugInfo() argument
435 __anond65850400602(raw_ostream &OutFile) saveCopyOfFile() argument
[all...]
/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h47 raw_pwrite_stream &OutFile, in DwarfStreamer() argument
49 : OutFile(OutFile), OutFileType(OutFileType), WarningHandler(Warning) {} in DwarfStreamer()
54 raw_pwrite_stream &OutFile, DWARFLinkerBase::MessageHandlerTy Warning);
293 raw_pwrite_stream &OutFile; variable
/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp257 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); in llvm_dwp_main()
262 if (OutFile.os().supportsSeeking()) { in llvm_dwp_main()
263 OS = &OutFile.os(); in llvm_dwp_main()
265 BOS.emplace(OutFile.os()); in llvm_dwp_main()
282 OutFile.keep(); in llvm_dwp_main()
255 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); llvm_dwp_main() local
/llvm-project/llvm/lib/TableGen/
H A DMain.cpp171 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain()
175 OutFile.os() << OutString; in TableGenMain()
177 OutFile.keep(); in TableGenMain()
167 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); TableGenMain() local
/llvm-project/bolt/lib/Profile/
H A DDataAggregator.cpp2197 raw_fd_ostream OutFile(OutputFilename, EC, sys::fs::OpenFlags::OF_None); in getFileNameForBuildID()
2203 auto writeLocation = [&OutFile, &WriteMemLocs](const Location &Loc) { in getFileNameForBuildID()
2205 OutFile << (Loc.IsSymbol ? "4 " : "3 "); in getFileNameForBuildID()
2207 OutFile << (Loc.IsSymbol ? "1 " : "0 "); in getFileNameForBuildID()
2208 OutFile << (Loc.Name.empty() ? "[unknown]" : getEscapedName(Loc.Name)) in getFileNameForBuildID()
2216 OutFile << "boltedcollection\n";
2218 OutFile << "no_lbr"; in writeAggregatedFile()
2220 OutFile << " " << Entry.getKey(); in writeAggregatedFile()
2221 OutFile << "\n"; in writeAggregatedFile()
2227 OutFile << S in writeAggregatedFile()
382 raw_fd_ostream OutFile(OutputFilename, EC, sys::fs::OpenFlags::OF_None); writeAutoFDOData() local
2219 raw_fd_ostream OutFile(OutputFilename, EC, sys::fs::OpenFlags::OF_None); writeAggregatedFile() local
2295 raw_fd_ostream OutFile(OutputFilename, EC, sys::fs::OpenFlags::OF_None); writeBATYAML() local
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DCompileCommands.cpp48 llvm::SmallString<64> OutFile; in queryXcrun() local
49 llvm::sys::fs::createTemporaryFile("clangd-xcrun", "", OutFile); in queryXcrun()
50 llvm::FileRemover OutRemover(OutFile); in queryXcrun()
52 /*stdin=*/{""}, /*stdout=*/{OutFile.str()}, /*stderr=*/{""}}; in queryXcrun()
65 auto Buf = llvm::MemoryBuffer::getFile(OutFile); in queryXcrun()
/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.h122 std::string &OutFile,
177 std::string &OutFile, unsigned Timeout = 0,
/llvm-project/llvm/tools/llvm-rc/
H A Dllvm-rc.cpp606 std::string OutFile = createTempFile("preproc", "rc"); in doRc()
607 TempPreprocFile.setFile(OutFile); in doRc()
608 preprocess(Src, OutFile, Opts, Argv0); in doRc()
609 PreprocessedFile = OutFile; in doRc()
598 std::string OutFile = createTempFile("preproc", "rc"); doRc() local
/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1361 SmallString<64> OutFile(opts::merge::PdbOutputFile); in mergePdbs() local
1362 if (OutFile.empty()) { in mergePdbs()
1363 OutFile = opts::merge::InputFilenames[0]; in mergePdbs()
1364 llvm::sys::path::replace_extension(OutFile, "merged.pdb"); in mergePdbs()
1368 ExitOnErr(Builder.commit(OutFile, &IgnoredOutGuid)); in mergePdbs()
1414 auto OutFile = ExitOnErr( in exportStream() local
1416 FileBufferByteStream DestStream(std::move(OutFile), llvm::endianness::little); in exportStream()
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp35 raw_pwrite_stream &OutFile, DWARFLinkerBase::MessageHandlerTy Warning) { in createStreamer() argument
37 std::make_unique<DwarfStreamer>(FileType, OutFile, Warning); in createStreamer()
106 *MC, std::make_unique<formatted_raw_ostream>(OutFile), MIP, in init()
114 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.h75 const InputInfo &Output, const char *OutFile);
H A DCommonArgs.cpp1754 const InputInfo &Output, const char *OutFile) { in RelocationModelName()
1764 ExtractArgs.push_back(OutFile);
1668 SplitDebugInfo(const ToolChain & TC,Compilation & C,const Tool & T,const JobAction & JA,const ArgList & Args,const InputInfo & Output,const char * OutFile) SplitDebugInfo() argument
/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp75 std::unique_ptr<raw_ostream> OutFile;
579 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(std::move(OS)), in RewriteObjC()
4903 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end());
4914 *OutFile << ResultStr; in HandleTranslationUnit()
4916 OutFile->flush(); in HandleTranslationUnit()
74 std::unique_ptr<raw_ostream> OutFile; global() member in __anonf379f6ed0111::RewriteObjC
H A DRewriteModernObjC.cpp77 std::unique_ptr<raw_ostream> OutFile;
646 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(std::move(OS)), in RewriteModernObjC()
5827 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
5838 *OutFile << ResultStr; in HandleTranslationUnit()
5844 *OutFile << ResultStr; in HandleTranslationUnit()
5846 OutFile->flush(); in HandleTranslationUnit()
76 std::unique_ptr<raw_ostream> OutFile; global() member in __anon2c496d720111::RewriteModernObjC