Browse Source

Disable debug info for bit fields

gingerBill 6 years ago
parent
commit
efe91b1f91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ir.cpp

+ 1 - 1
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,