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
09d2a6cf
Commit
09d2a6cf
authored
Sep 21, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp/dwarf: Added support for parsing dwarf's 3 restrict type TAG.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
87485ea1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
dwarf.c
dlls/dbghelp/dwarf.c
+18
-0
No files found.
dlls/dbghelp/dwarf.c
View file @
09d2a6cf
...
...
@@ -1507,6 +1507,21 @@ static struct symt* dwarf2_parse_volatile_type(dwarf2_debug_info_t* di)
return
ref_type
;
}
static
struct
symt
*
dwarf2_parse_restrict_type
(
dwarf2_debug_info_t
*
di
)
{
struct
symt
*
ref_type
;
if
(
di
->
symt
)
return
di
->
symt
;
TRACE
(
"%s
\n
"
,
dwarf2_debug_di
(
di
));
ref_type
=
dwarf2_lookup_type
(
di
);
if
(
dwarf2_get_di_children
(
di
))
FIXME
(
"Unsupported children
\n
"
);
di
->
symt
=
ref_type
;
return
ref_type
;
}
static
struct
symt
*
dwarf2_parse_unspecified_type
(
dwarf2_debug_info_t
*
di
)
{
struct
attribute
name
;
...
...
@@ -2265,6 +2280,9 @@ static void dwarf2_load_one_entry(dwarf2_debug_info_t* di)
case
DW_TAG_volatile_type
:
dwarf2_parse_volatile_type
(
di
);
break
;
case
DW_TAG_restrict_type
:
dwarf2_parse_restrict_type
(
di
);
break
;
case
DW_TAG_unspecified_type
:
dwarf2_parse_unspecified_type
(
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