Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
25d2c954
Commit
25d2c954
authored
Nov 15, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Define and dump POGO codeview record.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
95c96399
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
mscvpdb.h
include/wine/mscvpdb.h
+10
-0
msc.c
tools/winedump/msc.c
+6
-0
No files found.
include/wine/mscvpdb.h
View file @
25d2c954
...
...
@@ -2024,6 +2024,16 @@ union codeview_symbol
unsigned
short
int
csz
;
/* number of bytes in following array */
char
rgsz
[
1
];
/* array of null terminated strings (bounded by csz) */
}
annotation_v3
;
struct
{
unsigned
short
int
len
;
unsigned
short
int
id
;
unsigned
int
invocations
;
__int64
dynCount
;
unsigned
numInstrs
;
unsigned
staInstLive
;
}
pogoinfo_v3
;
};
enum
BinaryAnnotationOpcode
...
...
tools/winedump/msc.c
View file @
25d2c954
...
...
@@ -1949,6 +1949,12 @@ BOOL codeview_dump_symbols(const void* root, unsigned long start, unsigned long
}
break
;
case
S_POGODATA
:
printf
(
"PogoData V3 inv:%d dynCnt:%lld inst:%d staInst:%d
\n
"
,
sym
->
pogoinfo_v3
.
invocations
,
(
long
long
)
sym
->
pogoinfo_v3
.
dynCount
,
sym
->
pogoinfo_v3
.
numInstrs
,
sym
->
pogoinfo_v3
.
staInstLive
);
break
;
default:
printf
(
"
\n\t\t
>>> Unsupported symbol-id %x sz=%d
\n
"
,
sym
->
generic
.
id
,
sym
->
generic
.
len
+
2
);
dump_data
((
const
void
*
)
sym
,
sym
->
generic
.
len
+
2
,
" "
);
...
...
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