Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
24e97747
Commit
24e97747
authored
Sep 03, 2011
by
Christoph Mallon
Browse files
Print "default" instead of nothing if an entity has default linkage.
parent
0ee87830
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irdumptxt.c
View file @
24e97747
...
@@ -453,6 +453,10 @@ static void dump_entity_linkage(FILE *F, const ir_entity *entity)
...
@@ -453,6 +453,10 @@ static void dump_entity_linkage(FILE *F, const ir_entity *entity)
{
{
ir_linkage
linkage
=
get_entity_linkage
(
entity
);
ir_linkage
linkage
=
get_entity_linkage
(
entity
);
if
(
linkage
==
IR_LINKAGE_DEFAULT
)
{
fprintf
(
F
,
" default"
);
return
;
}
if
(
linkage
&
IR_LINKAGE_CONSTANT
)
if
(
linkage
&
IR_LINKAGE_CONSTANT
)
fprintf
(
F
,
" constant"
);
fprintf
(
F
,
" constant"
);
if
(
linkage
&
IR_LINKAGE_WEAK
)
if
(
linkage
&
IR_LINKAGE_WEAK
)
...
...
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