Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
00cf2da5
Commit
00cf2da5
authored
Jun 18, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Dwarf & typedefs.
- removed lookup for name for the const modifier - hard wire dwarf-reference to our pointer types
parent
d396ec31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
dwarf.c
dlls/dbghelp/dwarf.c
+10
-13
No files found.
dlls/dbghelp/dwarf.c
View file @
00cf2da5
...
...
@@ -1137,9 +1137,8 @@ static struct symt_array* dwarf2_parse_array_type(struct module* module, dwarf2_
return
symt
;
}
static
struct
symt
_typedef
*
dwarf2_parse_const_type
(
struct
module
*
module
,
dwarf2_abbrev_entry_t
*
entry
,
dwarf2_parse_context_t
*
ctx
)
static
struct
symt
*
dwarf2_parse_const_type
(
struct
module
*
module
,
dwarf2_abbrev_entry_t
*
entry
,
dwarf2_parse_context_t
*
ctx
)
{
struct
symt_typedef
*
symt
=
NULL
;
struct
symt
*
ref_type
=
NULL
;
dwarf2_abbrev_entry_attr_t
*
attr
=
NULL
;
unsigned
long
next_sibling
=
0
;
...
...
@@ -1159,8 +1158,6 @@ static struct symt_typedef* dwarf2_parse_const_type(struct module* module, dwarf
dwarf2_parse_attr
(
attr
,
ctx
);
}
}
FIXME
(
"need to generate a name
\n
"
);
symt
=
symt_new_typedef
(
module
,
ref_type
,
""
);
if
(
entry
->
have_child
)
{
FIXME
(
"Unsupported children
\n
"
);
...
...
@@ -1169,12 +1166,12 @@ static struct symt_typedef* dwarf2_parse_const_type(struct module* module, dwarf
/** set correct data cursor */
dwarf2_check_sibling
(
ctx
,
next_sibling
);
return
symt
;
return
ref_type
;
}
static
struct
symt
_typedef
*
dwarf2_parse_reference_type
(
struct
module
*
module
,
dwarf2_abbrev_entry_t
*
entry
,
dwarf2_parse_context_t
*
ctx
)
static
struct
symt
*
dwarf2_parse_reference_type
(
struct
module
*
module
,
dwarf2_abbrev_entry_t
*
entry
,
dwarf2_parse_context_t
*
ctx
)
{
struct
symt
_typedef
*
symt
=
NULL
;
struct
symt
*
symt
=
NULL
;
struct
symt
*
ref_type
=
NULL
;
dwarf2_abbrev_entry_attr_t
*
attr
=
NULL
;
unsigned
long
next_sibling
=
0
;
...
...
@@ -1197,8 +1194,8 @@ static struct symt_typedef* dwarf2_parse_reference_type(struct module* module, d
dwarf2_parse_attr
(
attr
,
ctx
);
}
}
FIXME
(
"need to generate a name
\n
"
);
symt
=
symt_new_typedef
(
module
,
ref_type
,
""
)
;
/* FIXME: for now, we hard-wire C++ references to pointers */
symt
=
&
symt_new_pointer
(
module
,
ref_type
)
->
symt
;
if
(
entry
->
have_child
)
{
FIXME
(
"Unsupported children
\n
"
);
...
...
@@ -2039,14 +2036,14 @@ static void dwarf2_parse_compiland_content(struct module* module, const dwarf2_a
break
;
case
DW_TAG_const_type
:
{
struct
symt
_typedef
*
symt
=
dwarf2_parse_const_type
(
module
,
entry
,
ctx
);
dwarf2_add_symt_ref
(
module
,
entry_ref
,
&
symt
->
symt
);
struct
symt
*
symt
=
dwarf2_parse_const_type
(
module
,
entry
,
ctx
);
dwarf2_add_symt_ref
(
module
,
entry_ref
,
symt
);
}
break
;
case
DW_TAG_reference_type
:
{
struct
symt
_typedef
*
symt
=
dwarf2_parse_reference_type
(
module
,
entry
,
ctx
);
dwarf2_add_symt_ref
(
module
,
entry_ref
,
&
symt
->
symt
);
struct
symt
*
symt
=
dwarf2_parse_reference_type
(
module
,
entry
,
ctx
);
dwarf2_add_symt_ref
(
module
,
entry_ref
,
symt
);
}
break
;
case
DW_TAG_enumeration_type
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment