| name | windows-debug-pdb |
| description | Implement issue |
Windows Debug / PDB
Use this skill to execute issue #133 with incremental, test-backed Windows debug support.
Workflow
- Add/maintain in-repo architecture doc for metadata -> CodeView -> PDB path.
- Implement first usable milestone in codegen/emitter (COFF +
.debug$S CodeView payload).
- Add tests that validate emitted COFF structure and debug section presence.
- Add external validation steps (
llvm-readobj, lld-link/link.exe, debugger checks) with graceful fallback if tools are unavailable.
- Update README with explicit Windows commands and current limitations.
- Review PR, run full tests, open issue(s) for any findings, fix in same PR, and post review summary.
Minimum validation
cargo +stable test -p llvm-codegen
cargo +stable test -q
Notes
- Keep milestones explicit; avoid claiming full PDB support before symbol/line records are debugger-verified.
- Prefer deterministic assertions on section names, signatures, and source/line payload.