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
e6e50f6c
Commit
e6e50f6c
authored
Feb 10, 2015
by
David Heidelberg
Committed by
Alexandre Julliard
Feb 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement DW_TAG_unspecified_type.
parent
8fdeb52b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
dwarf.c
dlls/dbghelp/dwarf.c
+28
-0
No files found.
dlls/dbghelp/dwarf.c
View file @
e6e50f6c
...
...
@@ -1337,6 +1337,31 @@ static struct symt* dwarf2_parse_volatile_type(dwarf2_parse_context_t* ctx,
return
ref_type
;
}
static
struct
symt
*
dwarf2_parse_unspecified_type
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
)
{
struct
attribute
name
;
struct
attribute
size
;
struct
symt_basic
*
basic
;
TRACE
(
"%s, for %s
\n
"
,
dwarf2_debug_ctx
(
ctx
),
dwarf2_debug_di
(
di
));
if
(
di
->
symt
)
return
di
->
symt
;
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_name
,
&
name
))
name
.
u
.
string
=
"void"
;
size
.
u
.
uvalue
=
sizeof
(
void
*
);
basic
=
symt_new_basic
(
ctx
->
module
,
btVoid
,
name
.
u
.
string
,
size
.
u
.
uvalue
);
di
->
symt
=
&
basic
->
symt
;
if
(
!
ctx
->
symt_cache
[
sc_void
])
ctx
->
symt_cache
[
sc_void
]
=
di
->
symt
;
if
(
dwarf2_get_di_children
(
ctx
,
di
))
FIXME
(
"Unsupported children
\n
"
);
return
di
->
symt
;
}
static
struct
symt
*
dwarf2_parse_reference_type
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
)
{
...
...
@@ -2084,6 +2109,9 @@ static void dwarf2_load_one_entry(dwarf2_parse_context_t* ctx,
case
DW_TAG_volatile_type
:
dwarf2_parse_volatile_type
(
ctx
,
di
);
break
;
case
DW_TAG_unspecified_type
:
dwarf2_parse_unspecified_type
(
ctx
,
di
);
break
;
case
DW_TAG_reference_type
:
dwarf2_parse_reference_type
(
ctx
,
di
);
break
;
...
...
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