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

rieske / trans / 30803999175

03 Aug 2026 10:03AM UTC coverage: 92.627% (-0.5%) from 93.109%
30803999175

Pull #58

github

rieske
feat: compile git-shaped C with dual intel/att backends

Extend the product compiler far enough that host-preprocessed git builds
with trans and git's own test suite passes on both assembly dialects.

Frontend after gcc -E: recursive Type, brace/designated init with
padding-safe full-object zero (zeroSpanBytes), function pointers,
structs/unions, variadics (va_tls), multi-dim array decay, and CSNB
modular productions. SA->CG uses closed plans (Field/Index, CallPlan,
BuiltinPlan), AnnotationStore + AnnotationTypes, and product assign
policy.

Codegen is multi-TU StackMachine / CodeGeneratingVisitor with SysV
ObjectAbi (sret, PIE lea/GOT/PLT). InstructionSet owns dialect emission
(typed load/store/extend, SSE, bswap); shared PreamblePlan and
RegisterSubreg; pool labels use AssignLabelAddress for frame liveness.
Product path supports -a intel|att with dual functional shards.

Per-TU LexicalSession owns typedef/enum tables; valueType is fail-closed;
sizeof/offsetof fold via foldedInteger. Document product contracts and
architecture; expand functional and unit coverage.
Pull Request #58: Experiment 1 - compile git

12174 of 13143 relevant lines covered (92.63%)

623901.29 hits per line

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

89.44
/home/runner/work/trans/trans/src/codegen/CodeGeneratingVisitor.cpp


Source Not Available

The file "home/runner/work/trans/trans/src/codegen/CodeGeneratingVisitor.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