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

vbpf / prevail / 25013164561
86%

Build:
DEFAULT BRANCH: main
Ran 27 Apr 2026 06:55PM UTC
Jobs 2
Files 112
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

27 Apr 2026 06:44PM UTC coverage: 89.565% (+0.3%) from 89.278%
25013164561

push

github

web-flow
Share helper/kfunc arg resolution; compact kfunc prototype table (#1102)

Extract the duplicated single-/pair-arg kind mappings and the args-walk
switch from call_resolver.cpp and kfunc.cpp into a shared header
(ir/arg_kind.hpp). Each caller dispatches on an ArgOutcome enum and
formats its own diagnostic, so helper vs. kfunc error wording stays
caller-controlled while the structural parity is now enforced.

Compact the 12-entry kfunc prototype table by giving KfuncPrototypeEntry
member-default initializers and rewriting entries with designated
initializers; entries shrink from ~14 lines to 1-3 lines each.

Adopts unified arg-type behavior across helper and kfunc resolution:
PTR_TO_FUNC, PTR_TO_READONLY_MEM[_OR_NULL], CONST_PTR_TO_MAP, and
PTR_TO_UNINIT_MAP_VALUE are now accepted on both paths. No current kfunc
entry exercises these tags, so the change is dormant in practice.

---------

Signed-off-by: Elazar Gershuni <elazarg@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

89 of 104 new or added lines in 3 files covered. (85.58%)

1 existing line in 1 file now uncovered.

13742 of 15343 relevant lines covered (89.57%)

4401272.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
77.42
22.1% src/linux/kfunc.cpp
6
92.86
src/ir/arg_kind.hpp
2
85.07
-2.02% src/ir/call_resolver.cpp

Coverage Regressions

Lines Coverage ∆ File
1
85.07
-2.02% src/ir/call_resolver.cpp
Jobs
ID Job ID Ran Files Coverage
1 run-Debug - 25013164561.1 27 Apr 2026 07:53PM UTC 112
87.93
GitHub Action Run
2 run-Release - 25013164561.2 27 Apr 2026 06:55PM UTC 112
88.85
GitHub Action Run
Source Files on build 25013164561
  • Tree
  • List 112
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 305f59f9 on github
  • Prev Build on main (#24963666837)
  • Next Build on main (#25039571607)
  • Delete
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