Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/tools/dsymutil/
H A DMachOUtils.cpp516 assert(OutFile.tell() == HeaderSize); in generateDsymCompanion()
580 assert(OutFile.tell() == SymtabStart); in generateDsymCompanion()
584 OutFile << NewSymtab.str(); in generateDsymCompanion()
585 assert(OutFile.tell() == StringStart); in generateDsymCompanion()
592 OutFile << '\0'; in generateDsymCompanion()
604 assert(OutFile.tell() == EHFrameStart); in generateDsymCompanion()
608 OutFile << EHFrameData; in generateDsymCompanion()
620 uint64_t Pos = OutFile.tell(); in generateDsymCompanion()
629 if (!OutFile.supportsSeeking()) in generateDsymCompanion()
633 uint64_t Pos = OutFile.tell(); in generateDsymCompanion()
[all …]
H A DDwarfLinkerForBinary.h37 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 Ddsymutil.h50 bool linkDwarf(raw_fd_ostream &OutFile, BinaryHolder &BinHolder,
H A DMachOUtils.h60 SymbolMapTranslator &Translator, MCStreamer &MS, raw_fd_ostream &OutFile,
H A DDwarfLinkerForBinary.cpp164 raw_fd_ostream &OutFile) { in createStreamer() argument
169 Options.FileType, OutFile, Options.Translator, in createStreamer()
552 if (!createStreamer(Map.getTriple(), OutFile)) in link()
770 *Streamer->getAsmPrinter().OutStreamer, OutFile, RelocationsToApply); in link()
1079 bool linkDwarf(raw_fd_ostream &OutFile, BinaryHolder &BinHolder, in linkDwarf() argument
1081 DwarfLinkerForBinary Linker(OutFile, BinHolder, std::move(Options)); in linkDwarf()
/openbsd/gnu/llvm/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp313 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 …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp255 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateDebugInfo() argument
256 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateDebugInfo()
280 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveNonDebugInfo() argument
282 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo()
366 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSeparateLinkedDebugInfo() argument
367 raw_crc_ostream CRCBuffer(OutFile); in saveSeparateLinkedDebugInfo()
394 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveSingleLinkedDebugInfo() argument
395 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveSingleLinkedDebugInfo()
430 Config.Common.OutputFilename, [&](raw_ostream &OutFile) -> Error { in saveCopyOfFile() argument
431 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile); in saveCopyOfFile()
/openbsd/gnu/llvm/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp190 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); in main() local
195 if (OutFile.os().supportsSeeking()) { in main()
196 OS = &OutFile.os(); in main()
198 BOS.emplace(OutFile.os()); in main()
216 OutFile.keep(); in main()
/openbsd/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h48 DwarfStreamer(OutputFileType OutFileType, raw_pwrite_stream &OutFile, in DwarfStreamer() argument
51 : OutFile(OutFile), OutFileType(OutFileType), Translator(Translator), in DwarfStreamer()
212 raw_pwrite_stream &OutFile; variable
/openbsd/gnu/llvm/llvm/lib/TableGen/
H A DMain.cpp149 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain() local
153 OutFile.os() << Out.str(); in TableGenMain()
155 OutFile.keep(); in TableGenMain()
/openbsd/gnu/llvm/llvm/tools/bugpoint/
H A DToolRunner.h122 std::string &OutFile,
177 std::string &OutFile, unsigned Timeout = 0,
/openbsd/gnu/llvm/llvm/tools/llvm-rc/
H A Dllvm-rc.cpp612 std::string OutFile = createTempFile("preproc", "rc"); in doRc() local
613 TempPreprocFile.setFile(OutFile); in doRc()
614 if (preprocess(Src, OutFile, Opts, Argv0)) in doRc()
615 PreprocessedFile = OutFile; in doRc()
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1363 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()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DFrontendActions.cpp783 std::unique_ptr<llvm::raw_fd_ostream> OutFile; in ExecuteAction() local
788 OutFile.reset(new llvm::raw_fd_ostream(OutputFileName.str(), EC, in ExecuteAction()
790 OutputStream = OutFile.get(); in ExecuteAction()
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/
H A DCommonArgs.h93 const InputInfo &Output, const char *OutFile);
H A DCommonArgs.cpp1277 const InputInfo &Output, const char *OutFile) { in SplitDebugInfo() argument
1287 ExtractArgs.push_back(OutFile); in SplitDebugInfo()
/openbsd/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp81 *MC, std::make_unique<formatted_raw_ostream>(OutFile), true, true, MIP, in init()
89 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp74 std::unique_ptr<raw_ostream> OutFile; member in __anon5cb7b4070111::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 DRewriteModernObjC.cpp76 std::unique_ptr<raw_ostream> OutFile; member in __anon5f8b160c0111::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()