structs have debug information

This commit is contained in:
Andrew Kelley
2015-12-16 17:11:35 -07:00
parent 4d45d14b55
commit e4cb28dbf2
5 changed files with 142 additions and 33 deletions

View File

@@ -215,8 +215,7 @@ static LLVMValueRef gen_field_ptr(CodeGen *g, AstNode *node, TypeTableEntry **ou
/*
if (struct_type->id == TypeTableEntryIdPointer) {
add_debug_source_node(g, node);
struct_ptr = LLVMBuildLoad(g->builder, struct_ptr, "");
zig_panic("TODO pointer field struct access");
}
*/