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
cb8aef44
Commit
cb8aef44
authored
Nov 15, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp/msc: Support S_SEPCODE codeview record.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7fec9fdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
msc.c
dlls/dbghelp/msc.c
+21
-0
No files found.
dlls/dbghelp/msc.c
View file @
cb8aef44
...
...
@@ -2497,6 +2497,27 @@ static BOOL codeview_snarf(const struct msc_debug_info* msc_dbg,
sym
->
heap_alloc_site_v3
.
inst_len
,
sym
->
heap_alloc_site_v3
.
index
);
break
;
case
S_SEPCODE
:
if
(
!
top_func
)
{
ULONG_PTR
parent_addr
=
codeview_get_address
(
msc_dbg
,
sym
->
sepcode_v3
.
sectParent
,
sym
->
sepcode_v3
.
offParent
);
struct
symt_ht
*
parent
=
symt_find_nearest
(
msc_dbg
->
module
,
parent_addr
);
if
(
symt_check_tag
(
&
parent
->
symt
,
SymTagFunction
))
{
struct
symt_function
*
pfunc
=
(
struct
symt_function
*
)
parent
;
top_func
=
symt_new_function
(
msc_dbg
->
module
,
compiland
,
pfunc
->
hash_elt
.
name
,
codeview_get_address
(
msc_dbg
,
sym
->
sepcode_v3
.
sect
,
sym
->
sepcode_v3
.
off
),
sym
->
sepcode_v3
.
length
,
pfunc
->
type
);
curr_func
=
top_func
;
}
else
WARN
(
"Couldn't find function referenced by S_SEPCODE at %04x:%08x
\n
"
,
sym
->
sepcode_v3
.
sectParent
,
sym
->
sepcode_v3
.
offParent
);
}
else
FIXME
(
"S_SEPCODE inside top-level function %s
\n
"
,
top_func
->
hash_elt
.
name
);
break
;
/* the symbols we can safely ignore for now */
case
S_TRAMPOLINE
:
case
S_FRAMEPROC
:
...
...
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