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
2325962e
Commit
2325962e
authored
Aug 30, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Return the stored name for a compiland.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1fa16200
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-0
symbol.c
dlls/dbghelp/symbol.c
+1
-0
type.c
dlls/dbghelp/type.c
+2
-0
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
2325962e
...
...
@@ -170,6 +170,7 @@ struct symt_module /* in fact any of .exe, .dll... */
struct
symt_compiland
{
struct
symt
symt
;
struct
symt_module
*
container
;
/* symt_module */
ULONG_PTR
address
;
unsigned
source
;
struct
vector
vchildren
;
/* global variables & functions */
...
...
dlls/dbghelp/symbol.c
View file @
2325962e
...
...
@@ -206,6 +206,7 @@ struct symt_compiland* symt_new_compiland(struct module* module,
if
((
sym
=
pool_alloc
(
&
module
->
pool
,
sizeof
(
*
sym
))))
{
sym
->
symt
.
tag
=
SymTagCompiland
;
sym
->
container
=
module
->
top
;
sym
->
address
=
address
;
sym
->
source
=
src_idx
;
vector_init
(
&
sym
->
vchildren
,
sizeof
(
struct
symt
*
),
32
);
...
...
dlls/dbghelp/type.c
View file @
2325962e
...
...
@@ -91,6 +91,8 @@ const char* symt_get_name(const struct symt* sym)
case
SymTagEnum
:
return
((
const
struct
symt_enum
*
)
sym
)
->
name
;
case
SymTagTypedef
:
return
((
const
struct
symt_typedef
*
)
sym
)
->
hash_elt
.
name
;
case
SymTagUDT
:
return
((
const
struct
symt_udt
*
)
sym
)
->
hash_elt
.
name
;
case
SymTagCompiland
:
return
source_get
(((
const
struct
symt_compiland
*
)
sym
)
->
container
->
module
,
((
const
struct
symt_compiland
*
)
sym
)
->
source
);
default:
FIXME
(
"Unsupported sym-tag %s
\n
"
,
symt_get_tag_str
(
sym
->
tag
));
/* fall through */
...
...
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