mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-18 20:20:12 -08:00
eval2: first pass at type_key -> string path
This commit is contained in:
1 parent
0963f4a6de
commit
20cd955cc9
3 files changed
+226
-1
No files matched your search
@@ -213,7 +213,7 @@ entry_point(CmdLine *cmdline)
|
||||
String8 msgs_string = str8_list_join(scratch.arena, &msgs, &join);
|
||||
|
||||
// rjf: log
|
||||
String8 log = str8f(scratch.arena, "%S -> %I64d (f32: %f) (f64: %f) *%s* %s%S\n",
|
||||
String8 log = str8f(scratch.arena, "%S -> %I64d (f32: %f) (f64: %f) *%s* (type: %S) %s%S\n",
|
||||
strings[idx],
|
||||
val.s64,
|
||||
val.f32,
|
||||
@@ -221,6 +221,7 @@ entry_point(CmdLine *cmdline)
|
||||
irtree->mode == E2_Mode_Type ? "type" :
|
||||
irtree->mode == E2_Mode_Value ? "value" :
|
||||
"address",
|
||||
e2_string_from_type_key(scratch.arena, irtree->type_key),
|
||||
msgs_string.size != 0 ? " // " : "", msgs_string);
|
||||
raddbg_log("%S", log);
|
||||
printf("%.*s", str8_varg(log));
|
||||
|
||||
Reference in new issue
Block a user