minor torture fixes

This commit is contained in:
Nikita Smith
2025-06-18 14:00:02 -07:00
committed by Ryan Fleury
parent ba326924ee
commit e487fbc494
+3 -3
View File
@@ -2784,8 +2784,8 @@ t_comdat_with_offset(void)
int linker_exit_code = t_invoke_linkerf("/subsystem:console /entry:entry /out:a.exe a.obj b.obj entry.obj");
if (linker_exit_code != 0) { goto exit; }
exit:;
result = T_Result_Pass;
exit:;
scratch_end(scratch);
return result;
}
@@ -3448,7 +3448,7 @@ t_delay_import(void)
if (!str8_match(a_import->name, str8_lit("a.dll"), 0)) { goto exit; }
if (a_import->module_handle_voff == 0) { goto exit; }
if (a_import->name_table_voff == 0) { goto exit; }
if (a_import->bound_table_voff == 0) { goto exit; }
if (a_import->bound_table_voff != 0) { goto exit; }
if (a_import->unload_table_voff != 0) { goto exit; }
if (a_import->time_stamp != 0) { goto exit; }
if (a_import->bound_table_count != 0) { goto exit; }
@@ -3470,7 +3470,7 @@ t_delay_import(void)
if (!str8_match(b_import->name, str8_lit("b.dll"), 0)) { goto exit; }
if (b_import->module_handle_voff == 0) { goto exit; }
if (b_import->name_table_voff == 0) { goto exit; }
if (b_import->bound_table_voff == 0) { goto exit; }
if (b_import->bound_table_voff != 0) { goto exit; }
if (b_import->unload_table_voff != 0) { goto exit; }
if (b_import->time_stamp != 0) { goto exit; }
if (b_import->bound_table_count != 0) { goto exit; }