mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-12 16:38:08 +00:00
torture merge build fixes
This commit is contained in:
@@ -35,6 +35,16 @@ t_string_from_result(T_RunStatus v)
|
||||
return 0;
|
||||
}
|
||||
|
||||
internal T_Linker
|
||||
t_id_linker(void)
|
||||
{
|
||||
String8 name = str8_chop_last_dot(str8_skip_last_slash(g_linker));
|
||||
if (str8_match(name, str8_lit("radlink"), StringMatchFlag_CaseInsensitive)) { return T_Linker_RAD; }
|
||||
if (str8_match(name, str8_lit("link"), StringMatchFlag_CaseInsensitive)) { return T_Linker_MSVC; }
|
||||
if (str8_match(name, str8_lit("lld-link"), StringMatchFlag_CaseInsensitive)) { return T_Linker_LLVM; }
|
||||
return T_Linker_Null;
|
||||
}
|
||||
|
||||
internal B32
|
||||
t_write_file_list(String8 name, String8List data)
|
||||
{
|
||||
|
||||
@@ -4645,7 +4645,7 @@ TEST(defer_duplicate_imp_link)
|
||||
T_Ok(static_imptab.count == 1);
|
||||
|
||||
PE_ParsedStaticDLLImport *dll = &static_imptab.v[0];
|
||||
T_Ok(str8_matchi(dll->name, str8_lit("foo.dll")));
|
||||
T_Ok(str8_match(dll->name, str8_lit("foo.dll"), StringMatchFlag_CaseInsensitive));
|
||||
|
||||
T_Ok(dll->import_count == 1);
|
||||
PE_ParsedImport *imp = &dll->imports[0];
|
||||
|
||||
Reference in New Issue
Block a user