|
2 | 2 |
|
3 | 3 | -------------------------------------------------------------------------------- |
4 | 4 |
|
| 5 | +## 0.18.0 |
| 6 | + |
| 7 | +Released 2019/04/25. |
| 8 | + |
| 9 | +The focus of this release has been on improving support for reading CFI, |
| 10 | +and adding support for writing CFI. |
| 11 | + |
| 12 | +### Breaking changes |
| 13 | + |
| 14 | +* For types which have an `Offset` type parameter, the default `Offset` |
| 15 | + has changed from `usize` to `R::Offset`. |
| 16 | + [#392](https://github.com/gimli-rs/gimli/pull/392) |
| 17 | + |
| 18 | +* Added an `Offset` type parameter to the `read::Unit` type to allow variance. |
| 19 | + [#393](https://github.com/gimli-rs/gimli/pull/393) |
| 20 | + |
| 21 | +* Changed the `UninitializedUnwindContext::initialize` method to borrow `self`, |
| 22 | + and return `&mut UnwindContext`. Deleted the `InitializedUnwindContext` type. |
| 23 | + [#395](https://github.com/gimli-rs/gimli/pull/395) |
| 24 | + |
| 25 | +* Deleted the `UnwindSection` type parameters from the `CommonInformationEntry`, |
| 26 | + `FrameDescriptionEntry`, `UninitializedUnwindContext`, |
| 27 | + `UnwindContext`, and `UnwindTable` types. |
| 28 | + [#399](https://github.com/gimli-rs/gimli/pull/399) |
| 29 | + |
| 30 | +* Changed the signature of the `get_cie` callback parameter for various functions. |
| 31 | + The signature now matches the `UnwindSection::cie_from_offset` method, so |
| 32 | + that method can be used as the parameter. |
| 33 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 34 | + |
| 35 | +* Reduced the number of lifetime parameters for the `UnwindTable` type. |
| 36 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 37 | + |
| 38 | +* Updated `fallible-iterator` to version 0.2.0. |
| 39 | + [#407](https://github.com/gimli-rs/gimli/pull/407) |
| 40 | + |
| 41 | +* Added a parameter to the `Error::UnexpectedEof` enum variant. |
| 42 | + [#408](https://github.com/gimli-rs/gimli/pull/408) |
| 43 | + |
| 44 | +### Added |
| 45 | + |
| 46 | +* Update to 2018 edition. |
| 47 | + [#391](https://github.com/gimli-rs/gimli/pull/391) |
| 48 | + |
| 49 | +* Added the `FrameDescriptionEntry::unwind_info_for_address` method. |
| 50 | + [#396](https://github.com/gimli-rs/gimli/pull/396) |
| 51 | + |
| 52 | +* Added the `FrameDescriptionEntry::rows` method. |
| 53 | + [#396](https://github.com/gimli-rs/gimli/pull/396) |
| 54 | + |
| 55 | +* Added the `EhHdrTable::unwind_info_for_address` method. |
| 56 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 57 | + |
| 58 | +* Added the `EhHdrTable::fde_for_address` method and deprecated the |
| 59 | + `EhHdrTable::lookup_and_parse` method. |
| 60 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 61 | + |
| 62 | +* Added the `EhHdrTable::pointer_to_offset` method. |
| 63 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 64 | + |
| 65 | +* Added the `UnwindSection::fde_for_address` method. |
| 66 | + [#396](https://github.com/gimli-rs/gimli/pull/396) |
| 67 | + |
| 68 | +* Added the `UnwindSection::fde_from_offset` method. |
| 69 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 70 | + |
| 71 | +* Added the `UnwindSection::partial_fde_from_offset` method. |
| 72 | + [#400](https://github.com/gimli-rs/gimli/pull/400) |
| 73 | + |
| 74 | +* Added the `Section::id` method. |
| 75 | + [#406](https://github.com/gimli-rs/gimli/pull/406) |
| 76 | + |
| 77 | +* Added the `Dwarf::load` method, and corresponding methods for individual sections. |
| 78 | + [#406](https://github.com/gimli-rs/gimli/pull/406) |
| 79 | + |
| 80 | +* Added the `Dwarf::borrow` method, and corresponding methods for individual sections. |
| 81 | + [#406](https://github.com/gimli-rs/gimli/pull/406) |
| 82 | + |
| 83 | +* Added the `Dwarf::format_error` method. |
| 84 | + [#408](https://github.com/gimli-rs/gimli/pull/408) |
| 85 | + |
| 86 | +* Added the `Dwarf::die_ranges` method. |
| 87 | + [#417](https://github.com/gimli-rs/gimli/pull/417) |
| 88 | + |
| 89 | +* Added the `Dwarf::unit_ranges` method. |
| 90 | + [#417](https://github.com/gimli-rs/gimli/pull/417) |
| 91 | + |
| 92 | +* Added support for writing `.debug_frame` and `.eh_frame` sections. |
| 93 | + [#412](https://github.com/gimli-rs/gimli/pull/412) |
| 94 | + [#419](https://github.com/gimli-rs/gimli/pull/419) |
| 95 | + |
| 96 | +### Fixed |
| 97 | + |
| 98 | +* The `code_alignment_factor` is now used when evaluting CFI instructions |
| 99 | + that advance the location. |
| 100 | + [#401](https://github.com/gimli-rs/gimli/pull/401) |
| 101 | + |
| 102 | +* Fixed parsing of pointers encoded with `DW_EH_PE_funcrel`. |
| 103 | + [#402](https://github.com/gimli-rs/gimli/pull/402) |
| 104 | + |
| 105 | +* Use the FDE address encoding from the augmentation when parsing `DW_CFA_set_loc`. |
| 106 | + [#403](https://github.com/gimli-rs/gimli/pull/403) |
| 107 | + |
| 108 | +* Fixed setting of `.eh_frame` base addresses in dwarfdump. |
| 109 | + [#410](https://github.com/gimli-rs/gimli/pull/410) |
| 110 | + |
5 | 111 | ## 0.17.0 |
6 | 112 |
|
7 | 113 | Released 2019/02/21. |
|
0 commit comments