From 2817f10ffced285d50ade99e1b6ea2cb8c9b9955 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sat, 18 Jun 1994 14:01:07 -0700 Subject: [PATCH] (sdbout_symbol): Use DECL_ASSEMBLER_NAME if DECL_LANG_SPECIFIC is set. From-SVN: r7522 --- gcc/sdbout.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 583dda0f86e..6a031085632 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -787,7 +787,10 @@ sdbout_symbol (decl, local) return; /* Record the name for, starting a symtab entry. */ - name = IDENTIFIER_POINTER (DECL_NAME (decl)); + if (DECL_LANG_SPECIFIC (decl)) + name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); + else + name = IDENTIFIER_POINTER (DECL_NAME (decl)); if (GET_CODE (value) == MEM && GET_CODE (XEXP (value, 0)) == SYMBOL_REF) -- 2.30.2