• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gimli-rs / gimli / 19252490893
89%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2025 02:05AM UTC
Jobs 1
Files 51
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Nov 2025 02:04AM UTC coverage: 55.147% (+0.1%) from 55.037%
19252490893

push

github

web-flow
Reduce the size of `UnitSectionOffset` (#825)

Change `UnitSectionOffset` from an enum to a simple newtype, and store a
`SectionId` in `read::UnitHeader` instead.

`UnitSectionOffset` is intended for code that may be handling either
`.debug_info` or `.debug_types`. However, you will usually have a
`UnitHeader` you can use to determine the section type.

This significantly reduces the memory usage in the conversion code,
where we need to store an offset for every entry in the section.

This required some changes to the `UnitSectionOffset` methods. To make
things more consistent, I also changed these methods to use `UnitHeader`
instead of `Unit`, and added a `Deref` impl to `Unit`.

40 of 89 new or added lines in 7 files covered. (44.94%)

5 existing lines in 4 files now uncovered.

6745 of 12231 relevant lines covered (55.15%)

1.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% crates/examples/src/bin/convert.rs
1
0.0
0.0% crates/examples/src/bin/simple.rs
2
0.0
0.0% crates/examples/src/bin/dwarf-validate.rs
9
53.61
0.17% src/read/unit.rs
11
57.27
-0.19% src/write/unit.rs
25
0.0
0.0% crates/examples/src/bin/dwarfdump.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% crates/examples/src/bin/dwarfdump.rs
1
0.0
0.0% crates/examples/src/bin/simple.rs
1
74.95
-0.1% src/read/cfi.rs
2
53.61
0.17% src/read/unit.rs
Jobs
ID Job ID Ran Files Coverage
1 19252490893.1 11 Nov 2025 02:05AM UTC 51
55.15
GitHub Action Run
Source Files on build 19252490893
  • Tree
  • List 51
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5bda6fa6 on github
  • Prev Build on master (#19218182507)
  • Next Build on master (#19254968210)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc