mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Disable debug info for bit fields
This commit is contained in:
+1
-1
@@ -1964,7 +1964,7 @@ irDebugInfo *ir_add_debug_info_type_bit_set(irModule *module, Type *type, Entity
|
|||||||
// TODO(lachsinc): Maybe name these fields numbered ascending?
|
// TODO(lachsinc): Maybe name these fields numbered ascending?
|
||||||
String name = str_lit("field_todo");
|
String name = str_lit("field_todo");
|
||||||
if (elem_type != nullptr && is_type_enum(elem_type)) {
|
if (elem_type != nullptr && is_type_enum(elem_type)) {
|
||||||
name = base_type(elem_type)->Enum.fields[i]->token.string;
|
// name = base_type(elem_type)->Enum.fields[i]->token.string;
|
||||||
}
|
}
|
||||||
irDebugInfo *field_di = ir_add_debug_info_field_internal(module, name, t_u32, // TODO(lachsinc): u32 fine??
|
irDebugInfo *field_di = ir_add_debug_info_field_internal(module, name, t_u32, // TODO(lachsinc): u32 fine??
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user