aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-10 16:59:53 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-10 17:03:11 -0300
commit75e0fe28bb02036dd404eec53dc3b71b55684ed1 (patch)
tree590bb14992c9b33260b08f84b68db72d27951507
parent121a46a026afac197652cb8a4cdf2d3879d7f587 (diff)
downloadpahole-75e0fe28bb02036dd404eec53dc3b71b55684ed1.tar.gz
core: Add DW_TAG_unspecified_type to tag__is_tag_type() set
It is a type, so make tag__is_tag_type() return true for it. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--dwarves.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwarves.h b/dwarves.h
index d1aa240b..9aaf87f2 100644
--- a/dwarves.h
+++ b/dwarves.h
@@ -547,6 +547,7 @@ static inline int tag__is_tag_type(const struct tag *tag)
tag->tag == DW_TAG_unspecified_type ||
tag->tag == DW_TAG_volatile_type ||
tag->tag == DW_TAG_atomic_type ||
+ tag->tag == DW_TAG_unspecified_type ||
tag->tag == DW_TAG_LLVM_annotation;
}