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
dcbb1456
Commit
dcbb1456
authored
Nov 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Function static variables should be found by address.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
f763332b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
symbol.c
dlls/dbghelp/symbol.c
+9
-2
No files found.
dlls/dbghelp/symbol.c
View file @
dcbb1456
...
...
@@ -150,11 +150,10 @@ static BOOL symt_grow_sorttab(struct module* module, unsigned sz)
return
TRUE
;
}
static
void
symt_add_module_
ht
(
struct
module
*
module
,
struct
symt_ht
*
ht
)
static
void
symt_add_module_
addr
(
struct
module
*
module
,
struct
symt_ht
*
ht
)
{
ULONG64
addr
;
hash_table_add
(
&
module
->
ht_symbols
,
&
ht
->
hash_elt
);
/* Don't store in sorttab a symbol without address, they are of
* no use here (e.g. constant values)
*/
...
...
@@ -166,6 +165,12 @@ static void symt_add_module_ht(struct module* module, struct symt_ht* ht)
}
}
static
void
symt_add_module_ht
(
struct
module
*
module
,
struct
symt_ht
*
ht
)
{
hash_table_add
(
&
module
->
ht_symbols
,
&
ht
->
hash_elt
);
symt_add_module_addr
(
module
,
ht
);
}
static
WCHAR
*
file_regex
(
const
char
*
srcfile
)
{
WCHAR
*
mask
;
...
...
@@ -488,6 +493,8 @@ struct symt_data* symt_add_func_local(struct module* module,
else
p
=
vector_add
(
&
func
->
vchildren
,
&
module
->
pool
);
*
p
=
&
locsym
->
symt
;
if
(
dt
==
DataIsStaticLocal
)
symt_add_module_addr
(
module
,
(
struct
symt_ht
*
)
locsym
);
return
locsym
;
}
...
...
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