aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/tree.h')
-rw-r--r--gcc-4.9/gcc/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/tree.h b/gcc-4.9/gcc/tree.h
index b656b7b46..f13366f9e 100644
--- a/gcc-4.9/gcc/tree.h
+++ b/gcc-4.9/gcc/tree.h
@@ -2405,6 +2405,11 @@ extern void decl_value_expr_insert (tree, tree);
#define DECL_HAS_IMPLICIT_SECTION_NAME_P(NODE) \
(DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.implicit_section_name_p)
+/* Specify whether the section name was explicitly set with decl_attributes. */
+#define DECL_HAS_EXPLICIT_SECTION_NAME_P(NODE) \
+ (DECL_SECTION_NAME(NODE) != NULL_TREE \
+ && !DECL_HAS_IMPLICIT_SECTION_NAME_P(NODE))
+
extern tree decl_debug_expr_lookup (tree);
extern void decl_debug_expr_insert (tree, tree);