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
a575351b
Commit
a575351b
authored
Mar 08, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Add support for parsing methods (in C++ classes) for dwarf debug format.
parent
395d734d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
dwarf.c
dlls/dbghelp/dwarf.c
+11
-2
No files found.
dlls/dbghelp/dwarf.c
View file @
a575351b
...
...
@@ -1377,6 +1377,9 @@ static void dwarf2_parse_udt_member(dwarf2_parse_context_t* ctx,
if
(
dwarf2_get_di_children
(
ctx
,
di
))
FIXME
(
"Unsupported children
\n
"
);
}
static
struct
symt
*
dwarf2_parse_subprogram
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
);
static
struct
symt
*
dwarf2_parse_udt_type
(
dwarf2_parse_context_t
*
ctx
,
dwarf2_debug_info_t
*
di
,
enum
UdtKind
udt
)
...
...
@@ -1411,13 +1414,15 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
case
DW_TAG_enumeration_type
:
dwarf2_parse_enumeration_type
(
ctx
,
child
);
break
;
case
DW_TAG_subprogram
:
dwarf2_parse_subprogram
(
ctx
,
child
);
break
;
case
DW_TAG_structure_type
:
case
DW_TAG_class_type
:
case
DW_TAG_union_type
:
case
DW_TAG_typedef
:
/* FIXME: we need to handle nested udt definitions */
case
DW_TAG_inheritance
:
case
DW_TAG_subprogram
:
case
DW_TAG_template_type_param
:
case
DW_TAG_template_value_param
:
case
DW_TAG_variable
:
...
...
@@ -1860,7 +1865,11 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
&
sig_type
->
symt
);
di
->
symt
=
&
subpgm
.
func
->
symt
;
}
else
subpgm
.
func
=
NULL
;
else
{
WARN
(
"no location for '%s::%s'
\n
"
,
ctx
->
name_space
,
name
.
u
.
string
);
subpgm
.
func
=
NULL
;
}
subpgm
.
ctx
=
ctx
;
if
(
!
dwarf2_compute_location_attr
(
ctx
,
di
,
DW_AT_frame_base
,
...
...
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