aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2014-06-13 15:46:11 +0000
committerDehao Chen <dehao@gcc.gnu.org>2014-06-13 15:46:11 +0000
commit8e96d784335afc41a647ccd108dbdc7961b06da9 (patch)
tree5eec17ed0a2aa35ce125665be8a8f53167db86a4 /gcc/dwarf2out.c
parenta10ec8bcac490d482040104ed0196e80af51a1a1 (diff)
downloadgcc-8e96d784335afc41a647ccd108dbdc7961b06da9.zip
gcc-8e96d784335afc41a647ccd108dbdc7961b06da9.tar.gz
gcc-8e96d784335afc41a647ccd108dbdc7961b06da9.tar.bz2
Emit linkage names for inlined functions.
* dwarf2out.c (add_linkage_name): Emit more linkage name. * g++.dg/debug/dwarf2/cdtor-1.C: Update test result. From-SVN: r211647
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 7b17d4c..933ec62 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -16792,10 +16792,9 @@ add_src_coords_attributes (dw_die_ref die, tree decl)
static void
add_linkage_name (dw_die_ref die, tree decl)
{
- if (debug_info_level > DINFO_LEVEL_TERSE
+ if (debug_info_level > DINFO_LEVEL_NONE
&& (TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL)
&& TREE_PUBLIC (decl)
- && !DECL_ABSTRACT (decl)
&& !(TREE_CODE (decl) == VAR_DECL && DECL_REGISTER (decl))
&& die->die_tag != DW_TAG_member)
{