diff options
author | Roland McGrath <roland@redhat.com> | 2009-09-10 12:39:09 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-09-10 12:39:09 -0700 |
commit | f0371041995308d197447019eb2ac9285c96477b (patch) | |
tree | f8cbd18cda8bb5758afd16b13e77dee99c4d0087 /libdw/libdw.h | |
parent | 381534dbcd40714ec68f449b0ebd3a642ae46ca0 (diff) | |
download | elfutils-f0371041995308d197447019eb2ac9285c96477b.tar.gz |
DW_OP_implicit_value support
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r-- | libdw/libdw.h | 9 |
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, |