mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-01 15:41:48 -07:00
stub /d2
This commit is contained in:
@@ -32,6 +32,7 @@ global read_only LNK_CmdSwitch g_cmd_switch_map[] =
|
||||
{ LNK_CmdSwitch_Dll, 0, "DLL", "", "" },
|
||||
{ LNK_CmdSwitch_NotImplemented, 0, "DRIVER", "", "" },
|
||||
{ LNK_CmdSwitch_DisallowLib, 1, "DISALLOWLIB", ":LIBRARY", "", },
|
||||
{ LNK_CmdSwitch_D2, 0, "D2", "" },
|
||||
{ LNK_CmdSwitch_EditAndContinue, 1, "EDITANDCONTINUE", "[:NO]", "" },
|
||||
{ LNK_CmdSwitch_DynamicBase, 0, "DYNAMICBASE", "[:NO]", "" },
|
||||
{ LNK_CmdSwitch_NotImplemented, 0, "EMITVOLATILEMETADATA", "", "" },
|
||||
@@ -1286,6 +1287,10 @@ lnk_apply_cmd_option_to_config(LNK_Config *config, String8 cmd_name, String8List
|
||||
lnk_error_cmd_switch(LNK_Error_Cmdl, obj, cmd_switch, "unsupported switch; binary dump is done by passing /DUMP to link.exe");
|
||||
} break;
|
||||
|
||||
case LNK_CmdSwitch_D2: {
|
||||
// not supported -- ignore
|
||||
} break;
|
||||
|
||||
case LNK_CmdSwitch_Entry: {
|
||||
String8 new_entry_point_name = {0};
|
||||
lnk_cmd_switch_parse_string_copy(config->arena, obj, cmd_switch, value_strings, &new_entry_point_name);
|
||||
|
||||
@@ -45,6 +45,7 @@ typedef enum
|
||||
LNK_CmdSwitch_Dll,
|
||||
LNK_CmdSwitch_DynamicBase,
|
||||
LNK_CmdSwitch_Dump,
|
||||
LNK_CmdSwitch_D2,
|
||||
LNK_CmdSwitch_Entry,
|
||||
LNK_CmdSwitch_ErrorReport,
|
||||
LNK_CmdSwitch_Export,
|
||||
|
||||
Reference in New Issue
Block a user