aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index f39034d04..a890c56ef 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -538,16 +538,7 @@ LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
}
- case Type_Basic:
- case Type_Pointer:
- case Type_Array:
- case Type_EnumeratedArray:
- case Type_Tuple:
- case Type_Proc:
- case Type_SimdVector:
- case Type_RelativePointer:
- case Type_RelativeSlice:
- case Type_Matrix:
+ default:
{
LLVMMetadataRef debug_bt = lb_debug_type(m, bt);
LLVMMetadataRef final_decl = LLVMDIBuilderCreateTypedef(m->debug_builder, debug_bt, name_text, name_len, file, line, scope, align_in_bits);