diff options
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index b8fa326ca0..de73ed70f7 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1362,6 +1362,7 @@ static void resolve_struct_type(CodeGen *g, TypeTableEntry *struct_type) { if (struct_type->zero_bits) { struct_type->type_ref = LLVMVoidType(); + ZigLLVMReplaceTemporary(g->dbuilder, struct_type->di_type, g->builtin_types.entry_void->di_type); struct_type->di_type = g->builtin_types.entry_void->di_type; return; } |
