diff options
| author | gingerBill <bill@gingerbill.org> | 2024-04-18 11:27:42 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-04-18 11:27:42 +0100 |
| commit | aad41fc76210814f4bf708927a10d17de0e2621d (patch) | |
| tree | 2b5d7aef0dc2f8c2f7953bddf308f19cf0c4d0ec /src/llvm_backend_debug.cpp | |
| parent | ece78d22d2b549116a0884d3578972b8f389f983 (diff) | |
Fix #3445
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp index 511ff0475..b430cf894 100644 --- a/src/llvm_backend_debug.cpp +++ b/src/llvm_backend_debug.cpp @@ -739,6 +739,7 @@ gb_internal LLVMMetadataRef lb_debug_type_internal(lbModule *m, Type *type) { } case Type_Map: { + init_map_internal_debug_types(bt); Type *bt = base_type(type->Map.debug_metadata_type); GB_ASSERT(bt->kind == Type_Struct); @@ -945,6 +946,7 @@ gb_internal LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) { } case Type_Map: { + init_map_internal_debug_types(bt); bt = base_type(bt->Map.debug_metadata_type); GB_ASSERT(bt->kind == Type_Struct); return lb_debug_struct(m, type, bt, name, scope, file, line); |