Compare commits
1 Commits
da33604123
...
113a584b9b
Author | SHA1 | Date | |
---|---|---|---|
113a584b9b |
@ -18559,10 +18559,7 @@ names: [_][]u8 =
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
>debug_info_array: [_]u1 = [1, 0];
|
|
||||||
|
|
||||||
>command = command_string_to_enum.enum_value;
|
>command = command_string_to_enum.enum_value;
|
||||||
|
|
||||||
switch (command)
|
switch (command)
|
||||||
{
|
{
|
||||||
.compile =>
|
.compile =>
|
||||||
@ -18624,6 +18621,7 @@ names: [_][]u8 =
|
|||||||
report_error();
|
report_error();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
>debug_info_array: [_]u1 = [1, 0];
|
||||||
for (name: names)
|
for (name: names)
|
||||||
{
|
{
|
||||||
for (build_mode: #enum_values(BuildMode))
|
for (build_mode: #enum_values(BuildMode))
|
||||||
|
@ -619,24 +619,6 @@ void entry_point(Slice<char* const> arguments, Slice<char* const> envp)
|
|||||||
print(compiler_has_debug_info ? string_literal(" with debug info\n") : string_literal(" with no debug info\n"));
|
print(compiler_has_debug_info ? string_literal(" with debug info\n") : string_literal(" with no debug info\n"));
|
||||||
bb_fail();
|
bb_fail();
|
||||||
}
|
}
|
||||||
|
|
||||||
char* const reproduce_arguments[] =
|
|
||||||
{
|
|
||||||
(char*)compiler.pointer,
|
|
||||||
(char*)"reproduce",
|
|
||||||
0,
|
|
||||||
};
|
|
||||||
arg_slice = array_to_slice(reproduce_arguments);
|
|
||||||
arg_slice.length -= 1;
|
|
||||||
execution = os_execute(arena, arg_slice, environment, {});
|
|
||||||
success = execution.termination_kind == TerminationKind::exit && execution.termination_code == 0;
|
|
||||||
if (!success)
|
|
||||||
{
|
|
||||||
print(string_literal("Self-hosted reproduction failed: "));
|
|
||||||
print(build_mode_to_string(compiler_build_mode));
|
|
||||||
print(compiler_has_debug_info ? string_literal(" with debug info\n") : string_literal(" with no debug info\n"));
|
|
||||||
bb_fail();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user