Home
last modified time | relevance | path

Searched refs:OutputFile (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-13.1/sys/contrib/dev/acpica/compiler/
H A Daslerror.c204 FILE *OutputFile,
363 fprintf (OutputFile, "%s %4.4d -", in AeDecodeErrorMessageId()
436 fprintf (OutputFile, "\n"); in AeDecodeErrorMessageId()
439 fprintf (OutputFile, "\n"); in AeDecodeErrorMessageId()
502 fprintf (OutputFile, in AePrintErrorSourceLine()
542 fprintf (OutputFile, in AePrintErrorSourceLine()
552 fprintf (OutputFile, in AePrintErrorSourceLine()
591 fprintf (OutputFile, "\n"); in AePrintErrorSourceLine()
724 fprintf (OutputFile, "\n"); in AePrintException()
764 fprintf (OutputFile, "\n "); in AePrintSubError()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp21 raw_ostream *OutputFile; member in __anone11bea040111::HeaderIncludesCallback
42 delete OutputFile; in ~HeaderIncludesCallback()
54 static void PrintHeaderInfo(raw_ostream *OutputFile, StringRef Filename, in PrintHeaderInfo() argument
77 *OutputFile << Msg; in PrintHeaderInfo()
78 OutputFile->flush(); in PrintHeaderInfo()
85 raw_ostream *OutputFile = &llvm::errs(); in AttachHeaderIncludeGen() local
94 OutputFile = &llvm::errs(); in AttachHeaderIncludeGen()
97 OutputFile = &llvm::outs(); in AttachHeaderIncludeGen()
114 OutputFile = OS; in AttachHeaderIncludeGen()
125 PrintHeaderInfo(OutputFile, Header.first, ShowDepth, 2, MSStyle); in AttachHeaderIncludeGen()
[all …]
H A DDependencyGraph.cpp30 std::string OutputFile; member in __anon1944e90e0111::DependencyGraphCallback
44 DependencyGraphCallback(const Preprocessor *_PP, StringRef OutputFile, in DependencyGraphCallback() argument
46 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } in DependencyGraphCallback()
62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, in AttachDependencyGraphGen() argument
64 PP.addPPCallbacks(std::make_unique<DependencyGraphCallback>(&PP, OutputFile, in AttachDependencyGraphGen()
103 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_TextWithCRLF); in OutputGraphFile()
105 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputGraphFile()
H A DFrontendActions.cpp123 std::string OutputFile; in CreateASTConsumer() local
125 CreateOutputFile(CI, InFile, /*ref*/ OutputFile); in CreateASTConsumer()
136 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateASTConsumer()
141 CI, std::string(InFile), OutputFile, std::move(OS), Buffer)); in CreateASTConsumer()
159 std::string &OutputFile) { in CreateOutputFile() argument
166 OutputFile = CI.getFrontendOpts().OutputFile; in CreateOutputFile()
188 std::string OutputFile = CI.getFrontendOpts().OutputFile; in CreateASTConsumer() local
195 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateASTConsumer()
204 CI, std::string(InFile), OutputFile, std::move(OS), Buffer)); in CreateASTConsumer()
228 if (CI.getFrontendOpts().OutputFile.empty()) { in CreateOutputFile()
[all …]
H A DDependencyFile.cpp189 : OutputFile(Opts.OutputFile), Targets(Opts.Targets), in DependencyFileGenerator()
316 llvm::sys::fs::remove(OutputFile); in outputDependencyFile()
321 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_TextWithCRLF); in outputDependencyFile()
323 Diags.Report(diag::err_fe_error_opening) << OutputFile << EC.message(); in outputDependencyFile()
H A DSerializedDiagnosticPrinter.cpp249 : DiagOpts(Diags), Stream(Buffer), OutputFile(File.str()), in SharedState()
262 std::string OutputFile; member
302 create(StringRef OutputFile, DiagnosticOptions *Diags, bool MergeChildRecords) { in create() argument
303 return std::make_unique<SDiagsWriter>(OutputFile, Diags, MergeChildRecords); in create()
768 if (!llvm::sys::fs::remove(State->OutputFile)) in RemoveOldDiagnostics()
795 if (llvm::sys::fs::exists(State->OutputFile)) in finish()
796 if (SDiagsMerger(*this).mergeRecordsFromFile(State->OutputFile.c_str())) in finish()
801 auto OS = std::make_unique<llvm::raw_fd_ostream>(State->OutputFile.c_str(), in finish()
805 << State->OutputFile << EC.message(); in finish()
817 << State->OutputFile << OS->error().message(); in finish()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DExecutionDriver.cpp283 std::string OutputFile, in executeProgram() argument
316 if (OutputFile.empty()) in executeProgram()
317 OutputFile = OutputPrefix + "-execution-output-%%%%%%%"; in executeProgram()
327 OutputFile = std::string(UniqueFile.str()); in executeProgram()
358 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); in executeProgram()
364 return OutputFile; in executeProgram()
371 const std::string &OutputFile) const { in executeProgramSafely()
372 return executeProgram(Program, OutputFile, "", "", SafeInterpreter); in executeProgramSafely()
378 std::string OutputFile; in compileSharedObject() local
382 SafeInterpreter->OutputCode(BitcodeFile, OutputFile); in compileSharedObject()
[all …]
H A DToolRunner.cpp158 const std::string &InputFile, const std::string &OutputFile,
168 const std::string &OutputFile, in ExecuteProgram() argument
199 OutputFile, Timeout, MemoryLimit); in ExecuteProgram()
312 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
329 OutputFile, OutputFile, Timeout, MemoryLimit); in ExecuteProgram()
485 const std::string &OutputFile, in ExecuteProgram() argument
626 const std::string &OutputFile, in ExecuteProgram() argument
746 InputFile, OutputFile, OutputFile, in ExecuteProgram()
760 InputFile, OutputFile, OutputFile, in ExecuteProgram()
766 std::string &OutputFile, in MakeSharedObject() argument
[all …]
H A DToolRunner.h65 const std::string &OutputFile,
73 std::string &OutputFile,
137 const std::string &InputFile, const std::string &OutputFile,
171 const std::string &InputFile, const std::string &OutputFile,
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCommand.h41 OutputFile(Other.OutputFile) {} in Command()
46 OutputFile = Other.OutputFile;
124 bool hasOutputFile() const { return !OutputFile.empty(); } in hasOutputFile()
127 const std::string &getOutputFile() const { return OutputFile; } in getOutputFile()
130 void setOutputFile(const std::string &FileName) { OutputFile = FileName; } in setOutputFile()
173 std::string OutputFile; variable
H A DFuzzerIO.cpp24 static FILE *OutputFile = stderr; variable
133 OutputFile = NewOutputFile; in DupAndCloseStderr()
149 vfprintf(OutputFile, Fmt, ap); in Printf()
151 fflush(OutputFile); in Printf()
158 vfprintf(OutputFile, Fmt, ap); in VPrintf()
160 fflush(OutputFile); in VPrintf()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c337 FILE *OutputFile; in writeFile() local
346 if (!OutputFile) in writeFile()
355 if (OutputFile == getProfileFile()) { in writeFile()
356 fflush(OutputFile); in writeFile()
361 fclose(OutputFile); in writeFile()
370 FILE *OutputFile; in writeOrderFile() local
372 OutputFile = fopen(OutputName, "w"); in writeOrderFile()
374 if (!OutputFile) { in writeOrderFile()
384 fclose(OutputFile); in writeOrderFile()
613 if (!OutputFile) in writeMMappedFile()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp25 StringRef OutputFile, StringRef isysroot, std::shared_ptr<PCHBuffer> Buffer, in PCHGenerator() argument
29 : PP(PP), OutputFile(OutputFile), isysroot(isysroot.str()), in PCHGenerator()
68 Writer.WriteAST(*SemaPtr, OutputFile, Module, isysroot, in HandleTranslationUnit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSignals.cpp175 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
177 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace()
179 FileRemover OutputRemover(OutputFile.c_str()); in printSymbolizedStackTrace()
189 Optional<StringRef> Redirects[] = {InputFile.str(), OutputFile.str(), in printSymbolizedStackTrace()
206 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str()); in printSymbolizedStackTrace()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp44 const std::string OutputFile; member in __anonf1c244c70111::PlistDiagnostics
55 const std::string &OutputFile, const Preprocessor &PP,
528 : DiagOpts(std::move(DiagOpts)), OutputFile(output), PP(PP), CTU(CTU), in PlistDiagnostics()
537 const std::string &OutputFile, const Preprocessor &PP, in createPlistDiagnosticConsumer() argument
542 if (OutputFile.empty()) in createPlistDiagnosticConsumer()
545 C.push_back(new PlistDiagnostics(DiagOpts, OutputFile, PP, CTU, in createPlistDiagnosticConsumer()
548 createTextMinimalPathDiagnosticConsumer(std::move(DiagOpts), C, OutputFile, in createPlistDiagnosticConsumer()
554 const std::string &OutputFile, const Preprocessor &PP, in createPlistMultiFileDiagnosticConsumer() argument
559 if (OutputFile.empty()) in createPlistMultiFileDiagnosticConsumer()
562 C.push_back(new PlistDiagnostics(DiagOpts, OutputFile, PP, CTU, in createPlistMultiFileDiagnosticConsumer()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp125 deduceDepTarget(const std::string &OutputFile, in deduceDepTarget() argument
127 if (OutputFile != "-") in deduceDepTarget()
128 return OutputFile; in deduceDepTarget()
229 Opts->Targets = {deduceDepTarget(Compiler.getFrontendOpts().OutputFile, in runInvocation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp175 Def->OutputFile = Arg->getValue(); in dlltoolDriverMain()
177 if (Def->OutputFile.empty()) { in dlltoolDriverMain()
214 writeImportLibrary(Def->OutputFile, Path, Def->Exports, Machine, true)) in dlltoolDriverMain()
/freebsd-13.1/contrib/llvm-project/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp40 StringRef CurrentWorkDir, StringRef SysRoot, llvm::StringRef OutputFile) in SerializablePathCollection() argument
46 OutputFilePath(Paths.addDirPath(OutputFile)) {} in SerializablePathCollection()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp642 ToolOutputFile OutputFile(OutputFilename, EC, sys::fs::OF_TextWithCRLF); in main() local
645 OutputFile.keep(); in main()
691 Success &= handleFile(Object, verifyObjectFile, OutputFile.os()); in main()
694 Success &= handleFile(Object, collectStatsForObjectFile, OutputFile.os()); in main()
697 Success &= handleFile(Object, collectObjectSectionSizes, OutputFile.os()); in main()
700 Success &= handleFile(Object, dumpObjectFile, OutputFile.os()); in main()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h467 StringRef isysroot, const std::string &OutputFile);
545 const std::string &OutputFile,
583 ASTFileSignature WriteAST(Sema &SemaRef, const std::string &OutputFile,
767 std::string OutputFile; variable
783 StringRef OutputFile, StringRef isysroot,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp214 if (Info.OutputFile.empty()) { in parseOne()
215 Info.OutputFile = Name; in parseOne()
218 Info.OutputFile += IsDll ? ".dll" : ".exe"; in parseOne()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DUtils.h137 std::string OutputFile; variable
181 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
H A DSerializedDiagnosticPrinter.h35 std::unique_ptr<DiagnosticConsumer> create(StringRef OutputFile,
H A DCompilerInvocation.h272 const std::string &OutputFile,
279 const std::string &OutputFile,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFFModuleDefinition.h29 std::string OutputFile; member

12