}
bool
-check_matching_ranges (struct hl_ctx *hlctx)
+check_matching_ranges (hl_ctx *hlctx)
{
struct where where_ref = WHERE (sec_info, NULL);
struct where where_ar = WHERE (sec_aranges, NULL);
struct abbrev_table *abbrev_chain = NULL;
struct cu *cu_chain = NULL;
struct read_ctx ctx;
+ struct hl_ctx *hlctx = hl_ctx_new (dwarf);
/* If we got Dwarf pointer, .debug_abbrev and .debug_info are
present inside the file. But let's be paranoid. */
if (loc_data.data != NULL && cu_chain != NULL)
check_loc_or_range_structural (dwarf, &loc_data, cu_chain);
- struct hl_ctx *hlctx = hl_ctx_new (dwarf);
-
if (aranges_data.data != NULL)
{
read_ctx_init (&ctx, dwarf, aranges_data.data);