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
d52e42e9
Commit
d52e42e9
authored
Mar 08, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Quirk for supporting anonymous UDT (class, struct, enum...).
parent
e21062f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dwarf.c
dlls/dbghelp/dwarf.c
+3
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
d52e42e9
...
...
@@ -1406,7 +1406,9 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
TRACE
(
"%s, for %s
\n
"
,
dwarf2_debug_ctx
(
ctx
),
dwarf2_debug_di
(
di
));
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_name
,
&
name
))
name
.
u
.
string
=
NULL
;
/* quirk... FIXME provide real support for anonymous UDTs */
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_name
,
&
name
))
name
.
u
.
string
=
"zz_anon_zz"
;
if
(
!
dwarf2_find_attribute
(
ctx
,
di
,
DW_AT_byte_size
,
&
size
))
size
.
u
.
uvalue
=
0
;
di
->
symt
=
&
symt_new_udt
(
ctx
->
module
,
dwarf2_get_cpp_name
(
ctx
,
di
,
name
.
u
.
string
),
...
...
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