stub /brepro

This commit is contained in:
Nikita Smith
2025-09-16 21:59:56 -07:00
committed by Ryan Fleury
parent c653410af5
commit 0b154cef46
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -15,6 +15,7 @@ global read_only LNK_CmdSwitch g_cmd_switch_map[] =
{ LNK_CmdSwitch_NotImplemented, 0, "ASSEMBLYMODULE", "", "" }, // .NET
{ LNK_CmdSwitch_NotImplemented, 0, "ASSEMBLYRESOURCE", "", "" }, // .NET
{ LNK_CmdSwitch_Base, 0, "BASE", "{ADDRESS[,SIZE]|@FILENAME,KEY}", "" },
{ LNK_CmdSwitch_Brepro, 0, "BREPRO", "", "Not supported" },
{ LNK_CmdSwitch_NotImplemented, 0, "CLRIMAGETYPE", "", "" }, // .NET
{ LNK_CmdSwitch_NotImplemented, 0, "CLRLOADEROPTIMIZATION","", "" }, // .NET
{ LNK_CmdSwitch_NotImplemented, 0, "CLRSUPPORTLASTERROR", "", "" }, // .NET
@@ -1215,6 +1216,10 @@ lnk_apply_cmd_option_to_config(LNK_Config *config, String8 cmd_name, String8List
}
} break;
case LNK_CmdSwitch_Brepro: {
// not supported -- ignore
} break;
case LNK_CmdSwitch_Debug: {
if (value_strings.node_count == 0) {
config->debug_mode = LNK_DebugMode_Full;
+1
View File
@@ -37,6 +37,7 @@ typedef enum
LNK_CmdSwitch_AlternateName,
LNK_CmdSwitch_AppContainer,
LNK_CmdSwitch_Base,
LNK_CmdSwitch_Brepro,
LNK_CmdSwitch_Debug,
LNK_CmdSwitch_DefaultLib,
LNK_CmdSwitch_Delay,