mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
General catch-all for llvm debug types
This commit is contained in:
@@ -538,16 +538,7 @@ LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
case Type_Basic:
|
default:
|
||||||
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:
|
|
||||||
{
|
{
|
||||||
LLVMMetadataRef debug_bt = lb_debug_type(m, bt);
|
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);
|
LLVMMetadataRef final_decl = LLVMDIBuilderCreateTypedef(m->debug_builder, debug_bt, name_text, name_len, file, line, scope, align_in_bits);
|
||||||
|
|||||||
Reference in New Issue
Block a user