| name | integrated-assembler |
| description | Implement issue |
Integrated Assembler
Use this skill to execute issue #141 with minimal disruption.
Workflow
- Add an explicit integrated-assembler API over existing emitter/object serialization.
- Keep object-format correctness and relocation behavior unchanged.
- Add tests for assembled bytes/report invariants.
- Add benchmark hooks comparing codegen paths in
llvm-bench.
- Document architecture and migration intent in README/design docs.
- Run full tests, post PR review, and merge after green checks.
Minimum validation
cargo +stable test -p llvm-codegen
cargo +stable test -q
cargo bench -p llvm-bench --bench pipeline -- --warm-up-time 1
Notes
- Avoid introducing text-asm dependencies in default pipeline.
- Prefer additive API (
IntegratedAssembler) over disruptive rewrites.