let-def / owee

OCaml library to work with DWARF format
MIT License
33 stars 12 forks source link

Fixed code fragment lookup for 4.12 #11

Closed nandor closed 3 years ago

nandor commented 3 years ago

4.12 does not expose code_area_start/end any more, relying instead on a separate map.

lukepalmer commented 3 years ago

This looks necessary for 4.12 but also looks like it would not work for earlier compilers.

It'd be great to merge this if there's a way to have both old and new compilers be supported (#ifdef something something?)

let-def commented 3 years ago

Thanks for the fix! I will find a way to support different versions.