aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-10-29 18:10:44 +0000
committergingerBill <bill@gingerbill.org>2018-10-29 18:10:44 +0000
commitefe91b1f91f2cca2478ceaeb99f3b3cae3291d98 (patch)
tree995a4697e4edfa635e3ee51970216643c6b0253e /src
parent7c99884afb90370e79429fd9b719482dd416acf5 (diff)
Disable debug info for bit fields
Diffstat (limited to 'src')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
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,