1diff --git a/src/elf_locations.ml b/src/elf_locations.ml
2index a08b359..0db9274 100644
3--- a/src/elf_locations.ml
4+++ b/src/elf_locations.ml
5@@ -37,7 +37,8 @@ let resolve_from_dwarf t ~program_counter =
6 | Some section ->
7 let body = Owee_buf.cursor (Owee_elf.section_body t.map section) in
8 let rec aux () =
9- match Owee_debug_line.read_chunk body with
10+ let pointers_to_other_sections = Owee_elf.debug_line_pointers t.map t.sections in
11+ match Owee_debug_line.read_chunk body ~pointers_to_other_sections with
12 | None -> ()
13 | Some (header, chunk) ->
14 (* CR-soon mshinwell: fix owee .mli to note that [state] is