summaryrefslogtreecommitdiff
path: root/libdw/libdw.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-09-10 12:39:09 -0700
committerRoland McGrath <roland@redhat.com>2009-09-10 12:39:09 -0700
commitf0371041995308d197447019eb2ac9285c96477b (patch)
treef8cbd18cda8bb5758afd16b13e77dee99c4d0087 /libdw/libdw.h
parent381534dbcd40714ec68f449b0ebd3a642ae46ca0 (diff)
downloadelfutils-f0371041995308d197447019eb2ac9285c96477b.tar.gz
DW_OP_implicit_value support
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r--libdw/libdw.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h
index ec352b4d..4cdc2208 100644
--- a/libdw/libdw.h
+++ b/libdw/libdw.h
@@ -623,6 +623,15 @@ extern int dwarf_getlocation_addr (Dwarf_Attribute *attr, Dwarf_Addr address,
Dwarf_Op **exprs, size_t *exprlens,
size_t nlocs);
+/* Return the block associated with a DW_OP_implicit_value operation.
+ The OP pointer must point into an expression that dwarf_getlocation
+ or dwarf_getlocation_addr has returned given the same ATTR. */
+extern int dwarf_getlocation_implicit_value (Dwarf_Attribute *attr,
+ Dwarf_Op *op,
+ Dwarf_Block *return_block)
+ __nonnull_attribute__ (2, 3);
+
+
/* Return scope DIEs containing PC address.
Sets *SCOPES to a malloc'd array of Dwarf_Die structures,