diff options
| author | gingerBill <bill@gingerbill.org> | 2022-11-21 10:25:34 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-11-21 10:25:34 +0000 |
| commit | 27d56d0da4c32fae3b52d8dcff65f111119b8d45 (patch) | |
| tree | d4b7ac581e72867fc4bdc784e2a90f8cf50de3a7 /src/llvm_backend_debug.cpp | |
| parent | c663566cd5778bfe6782835e897e212f91d5b1cb (diff) | |
Fix #2125
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp index e69424929..60978d321 100644 --- a/src/llvm_backend_debug.cpp +++ b/src/llvm_backend_debug.cpp @@ -294,6 +294,7 @@ LLVMMetadataRef lb_debug_type_internal(lbModule *m, Type *type) { GB_PANIC("Type_Named should be handled in lb_debug_type separately"); case Type_SoaPointer: + return LLVMDIBuilderCreatePointerType(m->debug_builder, lb_debug_type(m, type->SoaPointer.elem), word_bits, word_bits, 0, nullptr, 0); case Type_Pointer: return LLVMDIBuilderCreatePointerType(m->debug_builder, lb_debug_type(m, type->Pointer.elem), word_bits, word_bits, 0, nullptr, 0); case Type_MultiPointer: |