aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-12 12:29:37 +0000
committergingerBill <bill@gingerbill.org>2024-02-12 12:29:37 +0000
commitc291fffce1972fcfc631dd4c6f623e3f5055f74b (patch)
tree25431e224aabafc185f1ae0167c84020b51de2a0 /src/llvm_backend_debug.cpp
parent900fe95ba0b54dcc83ad2dbb2f16df8482135c61 (diff)
Add metadata type to `map`s debug information to aid debuggers knowing what is in it it
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-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 e053c5b40..894c60729 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -710,7 +710,7 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
case Type_Map:
GB_ASSERT(t_raw_map != nullptr);
- bt = base_type(t_raw_map);
+ bt = base_type(t->Map.debug_metadata_type);
/*fallthrough*/
case Type_Struct:
if (file == nullptr) {