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

gimli-rs / gimli / 9222243958
89%

Build:
DEFAULT BRANCH: master
Ran 24 May 2024 10:06AM UTC
Jobs 1
Files 48
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

24 May 2024 10:05AM UTC coverage: 57.867% (+0.002%) from 57.865%
9222243958

push

github

web-flow
read: Skip invalid ranges in RngListIter/LocListIter (#715)

I've encountered a toolchain which produces invalid ranges, where the
end of the range is before the beginning.

I want to fix that toolchain, of course, but I also noticed that tools
like `llvm-addr2line` and `llvm-dwarfdump --lookup` apparently silently
skip the invalid ranges, so they're able to give partial answers. By
contrast, `gimli` returns an error in this case. Then the `addr2line`
crate, for example, bubbles the error all the way out and doesn't return
any results.

The specific toolchain where I've encountered this is TinyGo (which uses
LLVM), when building WebAssembly with the `wasip1` target. I tested
TinyGo 0.32.0-dev and LLVM 17, and this was the shortest program I could
find which produces invalid ranges:
tinygo build -target=wasip1 /tmp/test.go
```go
package main
import "os"
func main() {
        os.Lstat("some-filename")
}
```

2 of 2 new or added lines in 2 files covered. (100.0%)

14 existing lines in 1 file now uncovered.

6414 of 11084 relevant lines covered (57.87%)

1.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
14
12.2
0.29% src/read/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 9222243958.1 24 May 2024 10:06AM UTC 48
57.87
GitHub Action Run
Source Files on build 9222243958
  • Tree
  • List 48
  • Changed 26
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e0959725 on github
  • Prev Build on master (#9204129348)
  • Next Build on master (#9232799459)
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