Home
last modified time | relevance | path

Searched refs:outfile (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/API/commands/settings/
H A Dmain.cpp19 std::ofstream outfile; in main() local
21 outfile.open("output1.txt"); in main()
23 outfile.open("output2.txt"); in main()
28 outfile << "argv[1] matches\n"; in main()
31 outfile << "argv[2] matches\n"; in main()
34 outfile << "argv[3] matches\n"; in main()
41 outfile << "Environment variable 'MY_ENV_VAR' successfully passed.\n"; in main()
50 outfile << "The host environment variable 'MY_HOST_ENV_VAR1' successfully passed.\n"; in main()
57 outfile << "The host environment variable 'MY_HOST_ENV_VAR2' successfully passed.\n"; in main()
64 outfile.close(); in main()
/llvm-project-15.0.7/lldb/test/API/commands/settings/quoting/
H A DTestQuoting.py51 outfile = self.getBuildArtifact(filename)
56 outfile_arg = outfile
62 dst_file_spec = lldb.SBFileSpec(outfile, True)
65 with open(outfile, 'r') as f:
68 self.RemoveTempFile(outfile)
/llvm-project-15.0.7/llvm/utils/gn/build/toolchain/
H A DBUILD.gn103 outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}"
111 description = "SOLINK $outfile"
112 outputs = [ outfile ]
118 outfile = "{{output_dir}}/{{target_output_name}}{{output_extension}}"
126 description = "SOLINK $outfile"
127 outputs = [ outfile ]
139 description = "LINK $outfile"
140 outputs = [ outfile ]
354 outfile = "$outprefix{{output_extension}}"
357 description = "LINK $outfile"
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/
H A DCMakeLists.txt145 get_filename_component(outfile ${src} NAME)
146 set(outfile "${outfile}-${target_cpu}.bc") variable
148 add_custom_command(OUTPUT ${outfile}
153 ${infile} -o ${outfile}
156 COMMENT "Building LLVM bitcode ${outfile}"
163 add_custom_command(OUTPUT ${outfile}
170 list(APPEND bc_files ${outfile})
251 get_filename_component(outfile ${src} NAME)
252 set(outfile "${outfile}.o") variable
253 set(outfile_full_path "${CMAKE_CURRENT_BINARY_DIR}/${outfile}")
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/ios_commands/
H A Dprint_crashreport_for_pid.py24 …output_report_with_retries(args.outfile, args.pid.strip(), args.binary_filename, args.retry_count,…
26 def output_report_with_retries(outfile, pid, filename, attempts_remaining, max_wait_time): argument
30 shutil.copyfileobj(f, outfile)
37 output_report_with_retries(outfile, pid, filename, attempts_remaining - 1, max_wait_time)
H A Dget_pid_from_output.py13 args.outfile.write(pid)
15 args.outfile.close()
/llvm-project-15.0.7/clang-tools-extra/pseudo/tool/
H A Dbundle_resources.py11 outfile = sys.argv[1] variable
14 with open(outfile, 'w') as out:
/llvm-project-15.0.7/lldb/test/API/commands/trace/
H A DTestTraceDumpInstructions.py72 outfile = os.path.join(self.getBuildDir(), "output.json")
74 …expect("thread trace dump instructions --raw --count 5 --forwards --pretty-json --file " + outfile)
76 with open(outfile, "r") as out:
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DWindowsMiniDump.cpp24 const lldb_private::FileSpec &outfile, in SaveMiniDump() argument
31 const std::string file_name = outfile.GetCString(); in SaveMiniDump()
H A DWindowsMiniDump.h17 const lldb_private::FileSpec &outfile,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/
H A DObjectFileMinidump.cpp57 const lldb_private::FileSpec &outfile, in SaveCore() argument
102 outfile, File::eOpenOptionWriteOnly | File::eOpenOptionCanCreate); in SaveCore()
H A DObjectFileMinidump.h58 const lldb_private::FileSpec &outfile,
/llvm-project-15.0.7/lldb/source/Plugins/TraceExporter/common/
H A DTraceHTR.cpp232 llvm::Error TraceHTR::Export(std::string outfile) { in Export() argument
234 llvm::raw_fd_ostream os(outfile, ec, llvm::sys::fs::OF_Text); in Export()
237 "unable to open destination file: " + outfile, os.error()); in Export()
243 "unable to write to destination file: " + outfile, os.error()); in Export()
H A DTraceHTR.h328 llvm::Error Export(std::string outfile);
/llvm-project-15.0.7/llvm/utils/
H A Dextract_symbols.py513 outfile = open(args.o,'w') variable
515 outfile = sys.stdout variable
519 print(k, file=outfile)
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/
H A Dcopy-sparse.py17 outf = args.outfile
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-stress.rst9 :program:`llvm-stress` [-size=filesize] [-seed=initialseed] [-o=outfile]
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
H A Dvscode.py16 def dump_memory(base_addr, data, num_per_line, outfile): argument
24 outfile.write('0x%8.8x: ' % (addr + i))
37 outfile.write(' '.join(a + b for a, b in zip(t, t)))
39 outfile.write(' ')
49 outfile.write(ascii_str)
51 outfile.write('\n')
/llvm-project-15.0.7/polly/test/
H A Dupdate_check.py236 outfile = known.output
251 outfile = filename
421 with open(outfile,'w',newline='') as file:
/llvm-project-15.0.7/llvm/test/Transforms/LoopRotate/
H A DPhiRename-1.ll23 @outfile = external global %struct.FILE* ; <%struct.FILE**> [#uses=1]
61 %tmp13 = load %struct.FILE*, %struct.FILE** @outfile ; <%struct.FILE*> [#uses=1]
/llvm-project-15.0.7/lldb/examples/python/
H A Dmach_o.py1051 if options.outfile:
1053 outfile = open(options.outfile, 'w')
1077 outfile.write(data.read_size(data_size))
1079 print("Saving section %s to '%s'" % (sectname, options.outfile))
1080 outfile.write(sect_bytes)
1081 outfile.close()
1819 if not options.outfile:
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2007-02-16-BranchFold.ll24 @outfile = external global ptr ; <ptr> [#uses=1]
135 %tmp3.i8.i = load ptr, ptr @outfile ; <ptr> [#uses=1]
/llvm-project-15.0.7/lldb/include/lldb/
H A Dlldb-private-interfaces.h57 const FileSpec &outfile,
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectMemory.cpp776 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute() local
778 if (outfile) { in DoExecute()
780 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
805 result.AppendError(llvm::toString(outfile.takeError())); in DoExecute()
/llvm-project-15.0.7/llvm/tools/lli/
H A Dlli.cpp328 raw_fd_ostream outfile(CacheName, EC, sys::fs::OF_None); in notifyObjectCompiled() local
329 outfile.write(Obj.getBufferStart(), Obj.getBufferSize()); in notifyObjectCompiled()
330 outfile.close(); in notifyObjectCompiled()

12