eliminate unnecessary info in debug engine entity abstraction / demon events; adjust symbol server / debug info loading such that the debug info loader is the one who decides to kick off downloads based on presence in cache path; use cache path as key, unpack info for download requests

This commit is contained in:
Ryan Fleury committed 2026-06-08 21:06:44 -07:00
1 parent b22f9f2d8b
commit 132751777f
19 files changed
+199 -318

No files matched your search

+9 -3
View File
@@ -680,16 +680,22 @@ di_async_tick(void)
}
}
//- rjf: check with the symbol server to see if we are actively downloading O.G.
//- rjf: kick off symbol server download, or check to see if we are actively downloading O.G.
B32 og_is_downloading = 0;
{
B32 file_is_present = (properties_from_file_path(og_path).modified != 0);
if(!file_is_present)
{
SMSV_Status status = smsv_status_from_local_path(og_path);
if(status == SMSV_Status_Pending)
String8 symbol_cache_path = smsv_cache_path();
if(str8_match(symbol_cache_path, og_path, StringMatchFlag_RightSideSloppy|StringMatchFlag_SlashInsensitive))
{
og_is_downloading = 1;
smsv_fill_local_path(og_path);
SMSV_Status status = smsv_status_from_local_path(og_path);
if(status == SMSV_Status_Null)
{
og_is_downloading = 0;
}
}
}
}
-1
View File
@@ -140,7 +140,6 @@ struct DI_LoadTask
B32 og_analyzed;
B32 og_is_rdi;
U64 og_size;
B32 og_is_downloading;
B32 rdi_analyzed;
B32 rdi_is_stale;