summaryrefslogtreecommitdiff
path: root/identifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'identifiers.c')
-rw-r--r--identifiers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/identifiers.c b/identifiers.c
index 505b565..6d1506d 100644
--- a/identifiers.c
+++ b/identifiers.c
@@ -148,6 +148,10 @@ static void fprint_ident(FILE *out, Identifier id) {
}
static void fprint_ident_debug(FILE *out, Identifier id) {
+ if (id->anonymous) {
+ fprintf(out, "???");
+ return;
+ }
#ifdef TOC_DEBUG
if (id->export_id)
printf(U64_FMT "-", id->export_id);