From efe91b1f91f2cca2478ceaeb99f3b3cae3291d98 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 29 Oct 2018 18:10:44 +0000 Subject: Disable debug info for bit fields --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index e6e30283f..040b4a1b0 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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? String name = str_lit("field_todo"); 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?? 0, -- cgit v1.2.3