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
eded75f8
Commit
eded75f8
authored
Oct 13, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Report a couple more VARIANT types in symbol info for constants.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
58d5b3c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
symbol.c
dlls/dbghelp/symbol.c
+10
-7
No files found.
dlls/dbghelp/symbol.c
View file @
eded75f8
...
...
@@ -750,13 +750,16 @@ static void symt_fill_sym_info(struct module_pair* pair,
sym_info
->
Flags
|=
SYMFLAG_LOCAL
;
switch
(
V_VT
(
&
data
->
u
.
value
))
{
case
VT_I4
:
sym_info
->
Value
=
(
ULONG
)
V_I4
(
&
data
->
u
.
value
);
break
;
case
VT_I2
:
sym_info
->
Value
=
(
ULONG
)(
LONG_PTR
)
V_I2
(
&
data
->
u
.
value
);
break
;
case
VT_I1
:
sym_info
->
Value
=
(
ULONG
)(
LONG_PTR
)
V_I1
(
&
data
->
u
.
value
);
break
;
case
VT_UI4
:
sym_info
->
Value
=
(
ULONG
)
V_UI4
(
&
data
->
u
.
value
);
break
;
case
VT_UI2
:
sym_info
->
Value
=
(
ULONG
)
V_UI2
(
&
data
->
u
.
value
);
break
;
case
VT_UI1
:
sym_info
->
Value
=
(
ULONG
)
V_UI1
(
&
data
->
u
.
value
);
break
;
case
VT_BYREF
:
sym_info
->
Value
=
(
ULONG64
)(
DWORD_PTR
)
V_BYREF
(
&
data
->
u
.
value
);
break
;
case
VT_I8
:
sym_info
->
Value
=
(
LONG64
)
V_I8
(
&
data
->
u
.
value
);
break
;
case
VT_I4
:
sym_info
->
Value
=
(
LONG64
)
V_I4
(
&
data
->
u
.
value
);
break
;
case
VT_I2
:
sym_info
->
Value
=
(
LONG64
)
V_I2
(
&
data
->
u
.
value
);
break
;
case
VT_I1
:
sym_info
->
Value
=
(
LONG64
)
V_I1
(
&
data
->
u
.
value
);
break
;
case
VT_UINT
:
sym_info
->
Value
=
V_UINT
(
&
data
->
u
.
value
);
break
;
case
VT_UI8
:
sym_info
->
Value
=
V_UI8
(
&
data
->
u
.
value
);
break
;
case
VT_UI4
:
sym_info
->
Value
=
V_UI4
(
&
data
->
u
.
value
);
break
;
case
VT_UI2
:
sym_info
->
Value
=
V_UI2
(
&
data
->
u
.
value
);
break
;
case
VT_UI1
:
sym_info
->
Value
=
V_UI1
(
&
data
->
u
.
value
);
break
;
case
VT_BYREF
:
sym_info
->
Value
=
(
DWORD_PTR
)
V_BYREF
(
&
data
->
u
.
value
);
break
;
case
VT_EMPTY
:
sym_info
->
Value
=
0
;
break
;
default:
FIXME
(
"Unsupported variant type (%u)
\n
"
,
V_VT
(
&
data
->
u
.
value
));
...
...
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