| ... | ... | @@ -8623,7 +8623,7 @@ static void resolve_llvm_types_enum(CodeGen *g, ZigType *enum_type, ResolveStatu |
| 8623 | 8623 | enum_type->llvm_type = get_llvm_type(g, tag_int_type); |
| 8624 | 8624 | |
| 8625 | 8625 | // create debug type for tag |
| 8626 | | uint64_t tag_debug_size_in_bits = tag_int_type->size_in_bits; |
| 8626 | uint64_t tag_debug_size_in_bits = 8*tag_int_type->abi_size; |
| 8627 | 8627 | uint64_t tag_debug_align_in_bits = 8*tag_int_type->abi_align; |
| 8628 | 8628 | ZigLLVMDIType *tag_di_type = ZigLLVMCreateDebugEnumerationType(g->dbuilder, |
| 8629 | 8629 | ZigLLVMFileToScope(import->data.structure.root_struct->di_file), buf_ptr(&enum_type->name), |