In dwarf_getlocation_addr pass the pointers to llbufs and listlens
indirectly by passing a pointer to the first array element. Simplify the
code by passing the pointers directly.
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2019-04-28 Mark Wielaard <mark@klomp.org>
+
+ * dwarf_getlocation.c (dwarf_getlocation_addr): Call
+ check_constant_offset with llbufs and listlens directly.
+
2019-04-27 Mark Wielaard <mark@klomp.org>
* dwarf_getlocation.c (store_implicit_value): Check dbg isn't
}
}
- int result = check_constant_offset (attr, &llbufs[0], &listlens[0]);
+ int result = check_constant_offset (attr, llbufs, listlens);
if (result != 1)
return result ?: 1;