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
232681da
Commit
232681da
authored
Oct 28, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Implement SymSetScopeFromInlineContext for inlined frames.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eee701ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
dbghelp.c
dlls/dbghelp/dbghelp.c
+12
-0
No files found.
dlls/dbghelp/dbghelp.c
View file @
232681da
...
...
@@ -677,6 +677,9 @@ BOOL WINAPI SymSetScopeFromIndex(HANDLE hProcess, ULONG64 addr, DWORD index)
*/
BOOL
WINAPI
SymSetScopeFromInlineContext
(
HANDLE
hProcess
,
ULONG64
addr
,
DWORD
inlinectx
)
{
struct
module_pair
pair
;
struct
symt_inlinesite
*
inlined
;
TRACE
(
"(%p %I64x %x)
\n
"
,
hProcess
,
addr
,
inlinectx
);
switch
(
IFC_MODE
(
inlinectx
))
...
...
@@ -684,6 +687,15 @@ BOOL WINAPI SymSetScopeFromInlineContext(HANDLE hProcess, ULONG64 addr, DWORD in
case
IFC_MODE_IGNORE
:
case
IFC_MODE_REGULAR
:
return
SymSetScopeFromAddr
(
hProcess
,
addr
);
case
IFC_MODE_INLINE
:
if
(
!
module_init_pair
(
&
pair
,
hProcess
,
addr
))
return
FALSE
;
inlined
=
symt_find_inlined_site
(
pair
.
effective
,
addr
,
inlinectx
);
if
(
inlined
)
{
pair
.
pcs
->
localscope_pc
=
addr
;
pair
.
pcs
->
localscope_symt
=
&
inlined
->
func
.
symt
;
return
TRUE
;
}
return
FALSE
;
default:
SetLastError
(
ERROR_INVALID_PARAMETER
);
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