Landing: de7711bf1814
Project / Subsystem
gcc / gensupport
Date
2026-08-04
Author
Kyrylo Tkachov
Commit
de7711bf18144e6cdae5f78b94d385472f38f51d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gensupport
- patch_id
- —
- commit_hash
- de7711bf18144e6cdae5f78b94d385472f38f51d
- source_type
- github
- headline
- gensupport: Centralizes machine-generator output management
- tldr
- Refactors common output handling for GCC's machine-description generators into a centralized library.
- author
- Kyrylo Tkachov
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gensupport
- • build system
- • refactor
- • code generation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-04T00:00:00.000Z
This commit introduces a centralized output management system in gensupport for GCC’s machine description generators (genemit, genrecog, genattrtab). It consolidates logic for file naming, opening, selection, and closing, improving consistency and reducing code duplication. The changes enable better handling of partitioned outputs and fixed outputs like headers, ensuring a unified lifecycle management across generators and addressing issues found in previous PRs.