mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 14:22:18 -04:00
raddbg debug view for fixed capacity dynamic arrays
This commit is contained in:
1 parent
a6160770ff
commit
bc636e4b36
2 files changed
+3
-2
No files matched your search
@@ -442,14 +442,14 @@ gb_internal LLVMMetadataRef lb_debug_fixed_capacity_dynamic_array(lbModule *m, T
|
||||
LLVMDIFlagZero, lb_debug_type(m, elem_type)
|
||||
);
|
||||
|
||||
i64 len_offset = type_offset_of(bt, 1);
|
||||
i64 len_offset_in_bits = 8*type_offset_of(bt, 1);
|
||||
|
||||
elements[1] = LLVMDIBuilderCreateMemberType(
|
||||
m->debug_builder, member_scope,
|
||||
"len", 3,
|
||||
file, line,
|
||||
int_bits, int_bits,
|
||||
len_offset,
|
||||
len_offset_in_bits,
|
||||
LLVMDIFlagZero, lb_debug_type(m, t_int)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user