mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
cleanup invoke
This commit is contained in:
@@ -102,8 +102,7 @@ t_invoke(String8 exe_path, String8 cmdline, U64 timeout)
|
|||||||
|
|
||||||
// Build Launch Options
|
// Build Launch Options
|
||||||
OS_ProcessLaunchParams launch_opts = { .path = g_wdir, .inherit_env = 1, .stdout_file = output_redirect, .stderr_file = output_redirect };
|
OS_ProcessLaunchParams launch_opts = { .path = g_wdir, .inherit_env = 1, .stdout_file = output_redirect, .stderr_file = output_redirect };
|
||||||
str8_list_push(scratch.arena, &launch_opts.cmd_line, g_linker);
|
str8_list_push(scratch.arena, &launch_opts.cmd_line, exe_path);
|
||||||
str8_list_push(scratch.arena, &launch_opts.cmd_line, str8_lit("/nologo"));
|
|
||||||
{
|
{
|
||||||
String8List parsed_cmdline = lnk_arg_list_parse_windows_rules(scratch.arena, cmdline);
|
String8List parsed_cmdline = lnk_arg_list_parse_windows_rules(scratch.arena, cmdline);
|
||||||
str8_list_concat_in_place(&launch_opts.cmd_line, &parsed_cmdline);
|
str8_list_concat_in_place(&launch_opts.cmd_line, &parsed_cmdline);
|
||||||
|
|||||||
@@ -183,8 +183,6 @@ dwt_make_writer(void)
|
|||||||
String8 string_table = str8_substr(raw_coff, obj_coff_header.string_table_range);
|
String8 string_table = str8_substr(raw_coff, obj_coff_header.string_table_range);
|
||||||
input = dw_input_from_coff_section_table(scratch.arena, raw_coff, string_table, section_count, section_table);
|
input = dw_input_from_coff_section_table(scratch.arena, raw_coff, string_table, section_count, section_table);
|
||||||
|
|
||||||
t_write_file(str8_lit("dwarf.obj"), raw_coff);
|
|
||||||
|
|
||||||
obj_release(&obj);
|
obj_release(&obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user