diff --git a/src/df/core/df_core.h b/src/df/core/df_core.h index a27f7416..49dbfa0d 100644 --- a/src/df/core/df_core.h +++ b/src/df/core/df_core.h @@ -1148,7 +1148,7 @@ struct DF_State // rjf: per-run caches U64 unwind_cache_reggen_idx; U64 unwind_cache_memgen_idx; - DF_RunUnwindCache unwind_caches[4]; + DF_RunUnwindCache unwind_caches[2]; U64 unwind_cache_gen; U64 tls_base_cache_reggen_idx; U64 tls_base_cache_memgen_idx; diff --git a/src/fuzzy_search/fuzzy_search.c b/src/fuzzy_search/fuzzy_search.c index 5d4ba473..a6e3f0fa 100644 --- a/src/fuzzy_search/fuzzy_search.c +++ b/src/fuzzy_search/fuzzy_search.c @@ -109,7 +109,7 @@ fzy_dbgi_key_array_from_list(Arena *arena, FZY_DbgiKeyList *list) internal FZY_Params fzy_params_copy(Arena *arena, FZY_Params *src) { - FZY_Params dst = {0}; + FZY_Params dst = zero_struct; MemoryCopyStruct(&dst, src); dst.dbgi_keys.v = push_array(arena, FZY_DbgiKey, dst.dbgi_keys.count); MemoryCopy(dst.dbgi_keys.v, src->dbgi_keys.v, sizeof(FZY_DbgiKey)*src->dbgi_keys.count); diff --git a/src/raddbg/raddbg.h b/src/raddbg/raddbg.h index f55e3c09..73d12983 100644 --- a/src/raddbg/raddbg.h +++ b/src/raddbg/raddbg.h @@ -39,7 +39,6 @@ // // [ ] robustify dbgi layer to renames (cache should not be based only on // path - must invalidate naturally when new filetime occurs) -// [ ] new fuzzy searching layer // // [ ] raddbg jai.exe my_file.jai -- foobar -> raddbg consumes `--` incorrectly // [ ] PDB files distributed with the build are not found by DbgHelp!!! @@ -377,6 +376,7 @@ // thread, instead of just the ID. // [x] TLS eval -> in-process-memory EXE info // [x] unwinding -> in-process-memory EXE info +// [x] new fuzzy searching layer #ifndef RADDBG_H #define RADDBG_H