X-Git-Url: http://plrg.eecs.uci.edu/git/?p=repair.git;a=blobdiff_plain;f=Repair%2FRepairCompiler%2Fstructextract%2Ftypedata.h;h=45e1ef06cb5ff4b09fd6a7b763eadc02f7fca83b;hp=053c549b38de8f1e153514f5b78a3cc2b63a5a6e;hb=38706bcbe3752535688ea2a5817e20c71315aa28;hpb=37931e84998c894cfe3dbffd97242d5f37af633b diff --git a/Repair/RepairCompiler/structextract/typedata.h b/Repair/RepairCompiler/structextract/typedata.h index 053c549..45e1ef0 100755 --- a/Repair/RepairCompiler/structextract/typedata.h +++ b/Repair/RepairCompiler/structextract/typedata.h @@ -61,12 +61,32 @@ typedef struct } modifier_type; typedef struct -{ +{ unsigned long target_ID; // ID of the entry that contains the type that this modifies unsigned long upperbound; dwarf_entry* target_ptr; // Type that this entry modifies (DW_AT_type) } array_bound; +typedef struct +{ + unsigned long target_ID; // ID of the entry that contains the type that this modifies + char *name; + dwarf_entry* target_ptr; // Type that this entry modifies (DW_AT_type) +} tdef; + +typedef struct +{ + unsigned long target_ID; // ID of the entry that contains the type that this modifies + dwarf_entry* target_ptr; // Type that this entry modifies (DW_AT_type) +} consttype; + +typedef struct +{ + unsigned long target_ID; // ID of the entry that contains the type that this modifies + dwarf_entry* target_ptr; // Type that this entry modifies (DW_AT_type) + long data_member_location; // Addr offset relative to struct head +} inherit; + // collection_type = {structure_type, union_type, enumeration_type} typedef struct {