mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-12 04:21:25 -07:00
update LF_STRUCT2 printer
This commit is contained in:
@@ -572,7 +572,7 @@ cv_string_from_frame_proc_flags(Arena *arena, CV_FrameprocFlags x)
|
||||
}
|
||||
|
||||
internal String8
|
||||
cv_string_from_type_props(Arena *arena, CV_TypeProps x)
|
||||
cv_string_from_type_props(Arena *arena, CV_TypeProps32 x)
|
||||
{
|
||||
Temp scratch = scratch_begin(&arena, 1);
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ internal String8 cv_string_from_sepcode(Arena *arena, CV_SepcodeFlags x);
|
||||
internal String8 cv_string_from_pub32_flags(Arena *arena, CV_Pub32Flags x);
|
||||
internal String8 cv_string_from_generic_flags(Arena *arena, CV_GenericFlags x);
|
||||
internal String8 cv_string_from_frame_proc_flags(Arena *arena, CV_FrameprocFlags x);
|
||||
internal String8 cv_string_from_type_props(Arena *arena, CV_TypeProps x);
|
||||
internal String8 cv_string_from_type_props(Arena *arena, CV_TypeProps32 x);
|
||||
internal String8 cv_string_from_local_flags(Arena *arena, CV_LocalFlags x);
|
||||
internal String8 cv_string_from_proc_flags(Arena *arena, CV_ProcFlags x);
|
||||
internal String8 cv_string_from_range_attribs(Arena *arena, CV_RangeAttribs x);
|
||||
|
||||
@@ -3689,13 +3689,12 @@ cv_print_leaf(Arena *arena, String8List *out, String8 indent, CV_TypeIndex min_i
|
||||
cursor += cv_read_numeric(raw_leaf, cursor, &size);
|
||||
cursor += str8_deserial_read_cstr(raw_leaf, cursor, &name);
|
||||
|
||||
rd_printf("Name: %S", name);
|
||||
rd_printf("Fields: %S", cv_string_from_itype(scratch.arena, min_itype, lf.field_itype));
|
||||
rd_printf("Properties: %S", cv_string_from_type_props(scratch.arena, lf.props));
|
||||
rd_printf("Derived: %S", cv_string_from_itype(scratch.arena, min_itype, lf.derived_itype));
|
||||
rd_printf("VShape: %S", cv_string_from_itype(scratch.arena, min_itype, lf.vshape_itype));
|
||||
rd_printf("Unknown1: %x", lf.unknown1);
|
||||
rd_printf("Unknown2: %x", lf.unknown2);
|
||||
rd_printf("Name: %S", name);
|
||||
rd_printf("Fields: %S", cv_string_from_itype(scratch.arena, min_itype, lf.field_itype));
|
||||
rd_printf("Properties: %S", cv_string_from_type_props(scratch.arena, lf.props));
|
||||
rd_printf("Derived: %S", cv_string_from_itype(scratch.arena, min_itype, lf.derived_itype));
|
||||
rd_printf("VShape: %S", cv_string_from_itype(scratch.arena, min_itype, lf.vshape_itype));
|
||||
rd_printf("Unknown: %x", lf.unknown);
|
||||
if (lf.props & CV_TypeProp_HasUniqueName) {
|
||||
String8 unique_name = str8_zero();
|
||||
cursor += str8_deserial_read_cstr(raw_leaf, cursor, &unique_name);
|
||||
|
||||
Reference in New Issue
Block a user