summaryrefslogtreecommitdiff
path: root/libdw/libdw.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-05-08 04:01:14 -0700
committerRoland McGrath <roland@redhat.com>2010-08-30 04:10:41 -0700
commit932585d2385c9d4e5686e4ddc9ba30c68172d7f3 (patch)
treed9a9bd294301b8d01c7a994b9560cb68121dcd3f /libdw/libdw.h
parenta159915a87d83951acb9e504b9cefc08ba98b8bd (diff)
downloadelfutils-932585d2385c9d4e5686e4ddc9ba30c68172d7f3.tar.gz
Handle DW_OP_GNU_implicit_pointer.
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r--libdw/libdw.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h
index 92021366..d36238ed 100644
--- a/libdw/libdw.h
+++ b/libdw/libdw.h
@@ -659,6 +659,16 @@ extern int dwarf_getlocation_implicit_value (Dwarf_Attribute *attr,
Dwarf_Block *return_block)
__nonnull_attribute__ (2, 3);
+/* Return the attribute indicated by a DW_OP_GNU_implicit_pointer operation.
+ The OP pointer must point into an expression that dwarf_getlocation
+ or dwarf_getlocation_addr has returned given the same ATTR.
+ The result is the DW_AT_location or DW_AT_const_value attribute
+ of the OP->number DIE. */
+extern int dwarf_getlocation_implicit_pointer (Dwarf_Attribute *attr,
+ const Dwarf_Op *op,
+ Dwarf_Attribute *result)
+ __nonnull_attribute__ (2, 3);
+
/* Compute the byte-size of a type DIE according to DWARF rules.
For most types, this is just DW_AT_byte_size.