• R/O
  • HTTP
  • SSH
  • HTTPS

drdeamon64: Commit

Dr.Deamon64 Git-Repository
(2014/03/01- Main-Repository: migrate from cvs)


Commit MetaInfo

Revisión6c3df1fc714063a8e238b5cc8829ca5f9a2e9e8a (tree)
Tiempo2019-10-29 21:43:05
AutorKoine Yuusuke(koinec) <koinec@user...>
CommiterKoine Yuusuke(koinec)

Log Message

(LibGoblin)
  • WorkBackup

Cambiar Resumen

Diferencia incremental

--- a/libgoblin/drd64_libgoblin_dwarf_tag_struct.c
+++ b/libgoblin/drd64_libgoblin_dwarf_tag_struct.c
@@ -81,45 +81,31 @@ int
8181 LibGoblin_DWARF_Info_Ancestry *p_ancestry,
8282 LibGoblin_DWARF_Info_CUHeader *p_cuheader )
8383 {
84- LibGoblin_DWARF_DIEValue *pval_name;
85- LibGoblin_DWARF_DIEValue *pval_declfile;
86- LibGoblin_DWARF_DIEValue *pval_declline;
87- LibGoblin_DWARF_DIEValue *pval_byte_size;
88-
89- // Data Extract
90- pval_name = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_name );
91- pval_declfile = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_file );
92- pval_declline = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_line );
93- pval_byte_size = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_byte_size );
94-
95-
96-/*
97- Byte *pb_link = NULL;
9884 int i_obj_parent;
85+ //Byte *pb_link = NULL;
9986 PtrValue ptrval_start;
10087 LibGoblin_ObjectInfo *pobj_now;
10188 LibGoblin_ObjectInfo *pobj_parent;
10289 LibGoblin_ProgramInfo *p_pginfo;
10390 LibGoblin_DWARF_DIEValue *pval_name;
104- LibGoblin_DWARF_DIEValue *pval_type;
10591 LibGoblin_DWARF_DIEValue *pval_declfile;
10692 LibGoblin_DWARF_DIEValue *pval_declline;
10793 LibGoblin_DWARF_DIEValue *pval_byte_size;
94+ LibGoblin_DWARF_DIEValue *pval_declaration;
95+ LibGoblin_DWARF_DIEValue *pval_specification;
96+ LibGoblin_DWARF_DIEValue *pval_start_scope;
10897
10998 // Data Extract
110- pval_type = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_type );
111- pval_name = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_name );
112- pval_declfile = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_file );
113- pval_declline = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_line );
114- pval_byte_size = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_byte_size );
115-
116-
117- if( NULL != pval_type )
118- { pb_link = pval_type->value.pb_link; }
99+ pval_name = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_name );
100+ pval_declfile = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_file );
101+ pval_declline = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_decl_line );
102+ pval_byte_size = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_byte_size );
103+ pval_declaration = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_declaration );
104+ pval_specification = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_specification );
105+ pval_start_scope = DWARF_AttrForm_GetDIEValue( p_binfo, DW_AT_start_scope );
119106
120107 i_obj_parent = p_ancestry[i_childlv - 1].i_objid;
121-
122- p_pginfo = ProgInfo_GetProgInfo( p_binfo->i_pginfo );
108+ p_pginfo = ProgInfo_GetProgInfo( p_binfo->i_pginfo );
123109 assert( NULL != p_pginfo );
124110
125111 pobj_parent = ObjectInfo_GetObjectInfo( p_pginfo, i_obj_parent );
@@ -127,7 +113,7 @@ int
127113
128114 pobj_now = ObjectInfo_InsetObject(
129115 p_pginfo, ptrval_start, (QWord)0, pobj_parent,
130- OBJINFO_INSETMODE_ADOPT, OBJINFO_TYPE_TYPEDEF, NULL );
116+ OBJINFO_INSETMODE_ADOPT, OBJINFO_TYPE_TYPE_MULTI, NULL );
131117 if( NULL == pobj_now ) {
132118 return -0x03;
133119 }
@@ -148,6 +134,12 @@ int
148134 else
149135 { pobj_now->pstr_name = NULL; }
150136
137+/*
138+
139+
140+ if( NULL != pval_type )
141+ { pb_link = pval_type->value.pb_link; }
142+
151143 pobj_now->dwarf.i_objid_type = NO_OBJ;
152144 pobj_now->dwarf.pb_dwinfo_type = pb_link;
153145 pobj_now->info.type.dw_size = 0;
Show on old repository browser