summaryrefslogtreecommitdiffstats
path: root/loc2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'loc2c.h')
-rw-r--r--loc2c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/loc2c.h b/loc2c.h
index 8bc59d29..becf2d85 100644
--- a/loc2c.h
+++ b/loc2c.h
@@ -12,7 +12,9 @@ struct location; /* Opaque */
as the starting location, begin from scratch if *INPUT is null.
If DW_OP_fbreg is used, it may have a subfragment computing from
the FB_ATTR location expression. The call_frame might need to be
- calculated by the cfa_ops for the given pc_address.
+ calculated by the cfa_ops for the given pc_address. If known the
+ locattr provides the attribute from which the locexpr array was
+ retrieved.
On errors, call FAIL, which should not return. Any later errors will use
FAIL and FAIL_ARG from the first c_translate_location call.
@@ -32,6 +34,7 @@ struct location *c_translate_location (struct obstack *,
int indent,
Dwarf_Addr bias,
Dwarf_Addr pc_address,
+ Dwarf_Attribute *attr,
const Dwarf_Op *locexpr,
size_t locexprlen,
struct location **input,