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
40f01197
Commit
40f01197
authored
Oct 14, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Support UWOP_EPILOG in unwind.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
960bb369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+14
-1
No files found.
dlls/dbghelp/cpu_x86_64.c
View file @
40f01197
...
...
@@ -209,6 +209,19 @@ static void dump_unwind_info(struct cpu_stack_walk* csw, ULONG64 base, RUNTIME_F
case
UWOP_PUSH_MACHFRAME
:
TRACE
(
"PUSH_MACHFRAME %u
\n
"
,
info
->
UnwindCode
[
i
].
u
.
OpInfo
);
break
;
case
UWOP_EPILOG
:
if
(
info
->
Version
==
2
)
{
unsigned
int
offset
;
if
(
info
->
UnwindCode
[
i
].
u
.
OpInfo
)
offset
=
info
->
UnwindCode
[
i
].
u
.
CodeOffset
;
else
offset
=
(
info
->
UnwindCode
[
i
+
1
].
u
.
OpInfo
<<
8
)
+
info
->
UnwindCode
[
i
+
1
].
u
.
CodeOffset
;
TRACE
(
"UWOP_EPILOG %u offset %u
\n
"
,
info
->
UnwindCode
[
i
].
u
.
OpInfo
,
offset
);
i
+=
1
;
break
;
}
/* Fall through */
default:
FIXME
(
"unknown code %u
\n
"
,
info
->
UnwindCode
[
i
].
u
.
UnwindOp
);
break
;
...
...
@@ -490,7 +503,7 @@ static BOOL interpret_function_table_entry(struct cpu_stack_walk* csw,
return
FALSE
;
}
if
(
info
->
Version
!=
1
)
if
(
info
->
Version
!=
1
&&
info
->
Version
!=
2
)
{
WARN
(
"unknown unwind info version %u at %lx
\n
"
,
info
->
Version
,
base
+
function
->
UnwindData
);
return
FALSE
;
...
...
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