Add reprocessing flag to struct attribute
[deliverable/binutils-gdb.git] / gdb / dwarf2 / attribute.c
index 69c59cc8bd8887e047cf6b2bd5344c41f6ce34eb..5d9c559194aa20d8afe3efaefdab4a7a52abd461 100644 (file)
@@ -182,3 +182,17 @@ attribute::form_is_unsigned () const
          || form == DW_FORM_ref8
          || form == DW_FORM_ref_udata);
 }
+
+/* See attribute.h.  */
+
+bool
+attribute::form_requires_reprocessing () const
+{
+  return (form == DW_FORM_strx1
+         || form == DW_FORM_strx2
+         || form == DW_FORM_strx3
+         || form == DW_FORM_strx4
+         || form == DW_FORM_GNU_str_index
+         || form == DW_FORM_addrx
+         || form == DW_FORM_GNU_addr_index);
+}
This page took 0.026797 seconds and 4 git commands to generate.