Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
31f4f1b0
Commit
31f4f1b0
authored
Nov 24, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Properly handle the void type in some declarations.
parent
cfd90133
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
dwarf.c
dlls/dbghelp/dwarf.c
+6
-3
No files found.
dlls/dbghelp/dwarf.c
View file @
31f4f1b0
...
...
@@ -979,7 +979,8 @@ static struct symt* dwarf2_parse_pointer_type(dwarf2_parse_context_t* ctx,
TRACE
(
"%s, for %s
\n
"
,
dwarf2_debug_ctx
(
ctx
),
dwarf2_debug_di
(
di
));
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_byte_size
,
&
size
))
size
.
u
.
uvalue
=
0
;
ref_type
=
dwarf2_lookup_type
(
ctx
,
di
);
if
(
!
(
ref_type
=
dwarf2_lookup_type
(
ctx
,
di
)))
ref_type
=
&
symt_new_basic
(
ctx
->
module
,
btVoid
,
"void"
,
0
)
->
symt
;
di
->
symt
=
&
symt_new_pointer
(
ctx
->
module
,
ref_type
)
->
symt
;
if
(
di
->
abbrev
->
have_child
)
FIXME
(
"Unsupported children
\n
"
);
...
...
@@ -1496,7 +1497,8 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_declaration
,
&
is_decl
))
is_decl
.
u
.
uvalue
=
0
;
ret_type
=
dwarf2_lookup_type
(
ctx
,
di
);
if
(
!
(
ret_type
=
dwarf2_lookup_type
(
ctx
,
di
)))
ret_type
=
&
symt_new_basic
(
ctx
->
module
,
btVoid
,
"void"
,
0
)
->
symt
;
/* FIXME: assuming C source code */
sig_type
=
symt_new_function_signature
(
ctx
->
module
,
ret_type
,
CV_CALL_FAR_C
);
...
...
@@ -1588,7 +1590,8 @@ static struct symt* dwarf2_parse_subroutine_type(dwarf2_parse_context_t* ctx,
TRACE
(
"%s, for %s
\n
"
,
dwarf2_debug_ctx
(
ctx
),
dwarf2_debug_di
(
di
));
ret_type
=
dwarf2_lookup_type
(
ctx
,
di
);
if
(
!
(
ret_type
=
dwarf2_lookup_type
(
ctx
,
di
)))
ret_type
=
&
symt_new_basic
(
ctx
->
module
,
btVoid
,
"void"
,
0
)
->
symt
;
/* FIXME: assuming C source code */
sig_type
=
symt_new_function_signature
(
ctx
->
module
,
ret_type
,
CV_CALL_FAR_C
);
...
...
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