/openbsd/gnu/llvm/llvm/tools/dsymutil/ |
H A D | MachOUtils.cpp | 516 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 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 | 164 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 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 …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfutil/ |
H A D | llvm-dwarfutil.cpp | 255 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 D | llvm-dwp.cpp | 190 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 D | DWARFStreamer.h | 48 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 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()
|
/openbsd/gnu/llvm/llvm/tools/bugpoint/ |
H A D | ToolRunner.h | 122 std::string &OutFile, 177 std::string &OutFile, unsigned Timeout = 0,
|
/openbsd/gnu/llvm/llvm/tools/llvm-rc/ |
H A D | llvm-rc.cpp | 612 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 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()
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 783 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 D | CommonArgs.h | 93 const InputInfo &Output, const char *OutFile);
|
H A D | CommonArgs.cpp | 1277 const InputInfo &Output, const char *OutFile) { in SplitDebugInfo() argument 1287 ExtractArgs.push_back(OutFile); in SplitDebugInfo()
|
/openbsd/gnu/llvm/llvm/lib/DWARFLinker/ |
H A D | DWARFStreamer.cpp | 81 *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 D | RewriteObjC.cpp | 74 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 D | RewriteModernObjC.cpp | 76 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()
|