aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-04-01 18:42:10 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-04-01 18:42:10 +0200
commitcfc85fd737a5e51e68cf5d87ba4cd8a9846df61d (patch)
tree1a85ca23bb8f38b26c1dd9bf0519ccd779d00996 /src
parent7c2352ea083132bbe28e41bd958eb6608c4c1986 (diff)
fix wrong type in map debug info
Diffstat (limited to 'src')
-rw-r--r--src/llvm_backend_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index 1b8e02a36..faefb569e 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -945,7 +945,7 @@ gb_internal LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
}
case Type_Map: {
- bt = base_type(type->Map.debug_metadata_type);
+ 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);
}