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

rieske / trans / 35729035351

22 Sep 2026 12:44PM UTC coverage: 94.651% (+0.001%) from 94.65%
35729035351

push

github

web-flow
fix: home the sret pointer before the function body (#378)

The hidden return pointer arrives in rdi and is not an IR value, so a
control-flow edge drops it without writing its home. The epilogue then
stores the struct through that slot. Straight-line returns kept rdi
live, so the existing sret tests passed. An untaken branch crashes at
-O0 and at -O1 when the callee is not inlined.

Write rdi into the sret slot in the prologue, before the body.

make(0) on a 24-byte struct prints 7 8 9.

17288 of 18265 relevant lines covered (94.65%)

147303.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.24
/home/runner/work/trans/trans/src/codegen/StackMachine.cpp


Source Not Available

The file "home/runner/work/trans/trans/src/codegen/StackMachine.cpp" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc