biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / spacetime_lib / spacetime.diff
blobbaad34ce08b51b1f218f026afc54d0a9d6f94e04
1 diff --git a/src/elf_locations.ml b/src/elf_locations.ml
2 index 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