summaryrefslogtreecommitdiffhomepage
path: root/ir/tr
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2016-12-22 15:43:37 +0100
committerManuel Mohr <manuel.mohr@kit.edu>2016-12-22 15:44:09 +0100
commit394a85e0fdf1c4098331810f1767a784a9c570e0 (patch)
tree88681ecd309f0ac530463a1df4a9ff06f49c1753 /ir/tr
parentf9e855918862a92050b116b7bf4f5f4d237a4934 (diff)
Add missing function arguments in type verifier.
Diffstat (limited to 'ir/tr')
-rw-r--r--ir/tr/trverify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ir/tr/trverify.c b/ir/tr/trverify.c
index 83b981f..9e3d7ee 100644
--- a/ir/tr/trverify.c
+++ b/ir/tr/trverify.c
@@ -406,11 +406,12 @@ int tr_verify(void)
const ir_entity *entity = get_compound_member(thread_locals, i);
/* this is odd and should not be allowed I think */
if (is_method_entity(entity)) {
- report_error("method %+F in thread local segment");
+ report_error("method %+F in thread local segment", entity);
fine = false;
}
if (get_entity_linkage(entity) & IR_LINKAGE_CONSTANT) {
- report_error("entity %+F in thread local segment is constant");
+ report_error("entity %+F in thread local segment is constant",
+ entity);
fine = false;
}
}