mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
use synchronous reads for call stack computation, but extend artifact cache with the ability to say that a non-retryable failure occurred, so that we can fall back to stale call stacks
This commit is contained in:
1 parent
3d6851c57a
commit
1901e67f39
19 files changed
+122
-96
No files matched your search
@@ -10088,7 +10088,7 @@ rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, D_Event *event)
|
||||
//~ rjf: Source File Checksum Calculations
|
||||
|
||||
internal AC_Artifact
|
||||
rd_md5_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out)
|
||||
rd_md5_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out)
|
||||
{
|
||||
AC_Artifact result = {0};
|
||||
{
|
||||
@@ -10105,7 +10105,7 @@ rd_md5_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_ou
|
||||
}
|
||||
|
||||
internal AC_Artifact
|
||||
rd_sha1_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out)
|
||||
rd_sha1_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out)
|
||||
{
|
||||
AC_Artifact result = {0};
|
||||
{
|
||||
@@ -10122,7 +10122,7 @@ rd_sha1_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_o
|
||||
}
|
||||
|
||||
internal AC_Artifact
|
||||
rd_sha256_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out)
|
||||
rd_sha256_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out)
|
||||
{
|
||||
AC_Artifact result = {0};
|
||||
{
|
||||
|
||||
@@ -794,9 +794,9 @@ internal DR_FStrList rd_stop_explanation_fstrs_from_ctrl_event(Arena *arena, D_E
|
||||
////////////////////////////////
|
||||
//~ rjf: Source File Checksum Calculations
|
||||
|
||||
internal AC_Artifact rd_md5_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out);
|
||||
internal AC_Artifact rd_sha1_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out);
|
||||
internal AC_Artifact rd_sha256_artifact_create(String8 key, B32 *cancel_out, B32 *retry_out, U64 *gen_out);
|
||||
internal AC_Artifact rd_md5_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out);
|
||||
internal AC_Artifact rd_sha1_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out);
|
||||
internal AC_Artifact rd_sha256_artifact_create(String8 key, B32 *cancel_out, AC_Status *status_out, U64 *gen_out);
|
||||
internal MD5 rd_md5_from_hash(U128 hash);
|
||||
internal SHA1 rd_sha1_from_hash(U128 hash);
|
||||
internal SHA256 rd_sha256_from_hash(U128 hash);
|
||||
|
||||
@@ -4504,7 +4504,7 @@ struct RD_BitmapCanvasBoxDrawData
|
||||
};
|
||||
|
||||
internal AC_Artifact
|
||||
rd_bitmap_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *gen_out)
|
||||
rd_bitmap_artifact_create(String8 key, B32 *cancel_signal, AC_Status *status_out, U64 *gen_out)
|
||||
{
|
||||
Access *access = access_open();
|
||||
|
||||
@@ -5130,7 +5130,7 @@ struct RD_Geo3DBoxDrawData
|
||||
};
|
||||
|
||||
internal AC_Artifact
|
||||
rd_geo3d_artifact_create(String8 key, B32 *cancel_signal, B32 *retry_out, U64 *gen_out)
|
||||
rd_geo3d_artifact_create(String8 key, B32 *cancel_signal, AC_Status *status_out, U64 *gen_out)
|
||||
{
|
||||
Access *access = access_open();
|
||||
U128 hash = {0};
|
||||
|
||||
Reference in new issue
Block a user