From f0371041995308d197447019eb2ac9285c96477b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 10 Sep 2009 12:39:09 -0700 Subject: DW_OP_implicit_value support --- libdw/libdw.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libdw/libdw.h') 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, -- cgit v1.2.1