+
Skip to content

Release 0.23.0 #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@

--------------------------------------------------------------------------------

## 0.23.0

Released 2020/10/27.

### Breaking changes

* Added more variants to `read::UnitType`.
Added `read::AttributeValue::DwoId`
[#521](https://github.com/gimli-rs/gimli/pull/521)

* Replaced `CompilationUnitHeader` and `TypeUnitHeader` with `UnitHeader`.
Replaced `CompilationUnitHeadersIter` with `DebugInfoUnitHeadersIter`.
Replaced `TypeUnitHeadersIter` with `DebugTypesUnitHeadersIter`.
[#523](https://github.com/gimli-rs/gimli/pull/523)


### Added

* Added read support for split DWARF.
[#527](https://github.com/gimli-rs/gimli/pull/527)
[#529](https://github.com/gimli-rs/gimli/pull/529)

* Added `read::Dwarf::attr_address`.
[#524](https://github.com/gimli-rs/gimli/pull/524)

* Added read support for `DW_AT_GNU_addr_base` and `DW_AT_GNU_ranges_base`.
[#525](https://github.com/gimli-rs/gimli/pull/525)

* dwarfdump: Display index values for attributes.
[#526](https://github.com/gimli-rs/gimli/pull/526)

* Added `name_to_register`.
[#532](https://github.com/gimli-rs/gimli/pull/532)

--------------------------------------------------------------------------------

## 0.22.0

Released 2020/07/03.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gimli"
version = "0.22.0"
version = "0.23.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>", "Philip Craig <philipjcraig@gmail.com>"]
categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"]
description = "A library for reading and writing the DWARF debugging format."
Expand Down Expand Up @@ -28,11 +28,11 @@ alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-all
compiler_builtins = { version = '0.1.2', optional = true }

[dev-dependencies]
crossbeam = "0.7.1"
crossbeam = "0.8"
getopts = "0.2"
memmap = "0.7"
num_cpus = "1"
object = "0.20"
object = "0.22"
rayon = "1.0"
regex = "1"
test-assembler = "0.1.3"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
gimli = "0.22.0"
gimli = "0.23.0"
```

The minimum supported Rust version is 1.38.0.
Expand Down
2 changes: 1 addition & 1 deletion examples/dwarfdump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use fallible_iterator::FallibleIterator;
use gimli::{Section, UnitHeader, UnitOffset, UnitSectionOffset, UnitType, UnwindSection};
use object::{Object, ObjectSection};
use object::{Object, ObjectSection, ObjectSymbol};
use regex::bytes::Regex;
use std::borrow::{Borrow, Cow};
use std::cmp::min;
Expand Down
6 changes: 2 additions & 4 deletions src/read/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1654,12 +1654,10 @@ impl<R: Reader> Attribute<R> {
constants::DW_AT_str_offsets_base => {
stroffsetsptr!();
}
constants::DW_AT_addr_base |
constants::DW_AT_GNU_addr_base => {
constants::DW_AT_addr_base | constants::DW_AT_GNU_addr_base => {
addrptr!();
}
constants::DW_AT_rnglists_base |
constants::DW_AT_GNU_ranges_base => {
constants::DW_AT_rnglists_base | constants::DW_AT_GNU_ranges_base => {
rnglistsptr!();
}
constants::DW_AT_dwo_name => {
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载