Commit 24e97747 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Print "default" instead of nothing if an entity has default linkage.

parent 0ee87830
......@@ -453,6 +453,10 @@ static void dump_entity_linkage(FILE *F, const ir_entity *entity)
ir_linkage linkage = get_entity_linkage(entity);
if (linkage == IR_LINKAGE_DEFAULT) {
fprintf(F, " default");
if (linkage & IR_LINKAGE_CONSTANT)
fprintf(F, " constant");
if (linkage & IR_LINKAGE_WEAK)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment