mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
show an early warning for /DEBUG:FASTLINK
This commit is contained in:
+1
-3
@@ -4135,7 +4135,7 @@ l.count += 1; \
|
|||||||
|
|
||||||
// TODO: Parallel debug info builds are currently blocked by the patch
|
// TODO: Parallel debug info builds are currently blocked by the patch
|
||||||
// strings in $$FILE_CHECKSUM step in `lnk_process_c13_data_task`.
|
// strings in $$FILE_CHECKSUM step in `lnk_process_c13_data_task`.
|
||||||
if (config->debug_mode == LNK_DebugMode_Full || config->debug_mode == LNK_DebugMode_GHash) {
|
if (config->debug_mode == LNK_DebugMode_Full) {
|
||||||
lnk_timer_begin(LNK_Timer_Pdb);
|
lnk_timer_begin(LNK_Timer_Pdb);
|
||||||
|
|
||||||
if (config->pdb_hash_type_names != LNK_TypeNameHashMode_Null && config->pdb_hash_type_names != LNK_TypeNameHashMode_None) {
|
if (config->pdb_hash_type_names != LNK_TypeNameHashMode_Null && config->pdb_hash_type_names != LNK_TypeNameHashMode_None) {
|
||||||
@@ -4164,8 +4164,6 @@ l.count += 1; \
|
|||||||
|
|
||||||
lnk_write_data_list_to_file_path(config->pdb_name, pdb_data);
|
lnk_write_data_list_to_file_path(config->pdb_name, pdb_data);
|
||||||
lnk_timer_end(LNK_Timer_Pdb);
|
lnk_timer_end(LNK_Timer_Pdb);
|
||||||
} else if (config->debug_mode == LNK_DebugMode_FastLink) {
|
|
||||||
lnk_not_implemented("FASTLINK");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
lnk_timer_end(LNK_Timer_Debug);
|
lnk_timer_end(LNK_Timer_Debug);
|
||||||
|
|||||||
@@ -1026,6 +1026,9 @@ lnk_config_from_cmd_line(Arena *arena, String8List raw_cmd_line)
|
|||||||
if (debug_mode == LNK_DebugMode_GHash) {
|
if (debug_mode == LNK_DebugMode_GHash) {
|
||||||
config->debug_mode = LNK_DebugMode_Full;
|
config->debug_mode = LNK_DebugMode_Full;
|
||||||
lnk_error_cmd_switch(LNK_Warning_Cmdl, cmd_switch, "GHASH is not supported, switching to FULL");
|
lnk_error_cmd_switch(LNK_Warning_Cmdl, cmd_switch, "GHASH is not supported, switching to FULL");
|
||||||
|
} else if (debug_mode == LNK_DebugMode_FastLink) {
|
||||||
|
config->debug_mode = LNK_DebugMode_Full;
|
||||||
|
lnk_error_cmd_switch(LNK_Warning_Cmdl, cmd_switch, "FASTLINK is not supported, switching to FULL");
|
||||||
} else if (debug_mode != LNK_DebugMode_Null) {
|
} else if (debug_mode != LNK_DebugMode_Null) {
|
||||||
config->debug_mode = debug_mode;
|
config->debug_mode = debug_mode;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user