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
87485ea1
Commit
87485ea1
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: Handle some Dwarf4 tweaks in high / low pc attributes.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
23c32527
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 @
87485ea1
...
...
@@ -1244,6 +1244,24 @@ static BOOL dwarf2_read_range(dwarf2_parse_context_t* ctx, const dwarf2_debug_in
return
FALSE
;
*
plow
=
low_pc
.
u
.
uvalue
;
*
phigh
=
high_pc
.
u
.
uvalue
;
if
(
ctx
->
head
.
version
>=
4
)
switch
(
high_pc
.
form
)
{
case
DW_FORM_addr
:
break
;
case
DW_FORM_data1
:
case
DW_FORM_data2
:
case
DW_FORM_data4
:
case
DW_FORM_data8
:
case
DW_FORM_sdata
:
case
DW_FORM_udata
:
/* From dwarf4 on, when FORM's class is constant, high_pc is an offset from low_pc */
*
phigh
+=
*
plow
;
break
;
default:
FIXME
(
"Unsupported class for high_pc
\n
"
);
break
;
}
return
TRUE
;
}
}
...
...
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