Skip to content

cmd/compile: use one LLVM module finalization guard - #352

Merged
zhouguangyuan0718 merged 1 commit into
go1.27.masterfrom
codex/goobj-finalization-state
Oct 30, 2026
Merged

zhouguangyuan0718 merged 1 commit into
go1.27.masterfrom
codex/goobj-finalization-state

Conversation

@zhouguangyuan0718

Copy link
Copy Markdown

finalizeLLVMModule already returns after module finalization, but separately tracks whether configuration and imports were emitted. Remove those two redundant flags and keep the existing module-level guard as the single owner of finalization. Metadata emission order and repeated output behavior stay the same.

Validation: rebuilding the local toolchain and running focused metadata, definition-relation, deterministic-output and pre-optimization verifier tests. The complete Linux amd64/arm64 CI matrix must pass before merging.

@zhouguangyuan0718
zhouguangyuan0718 marked this pull request as ready for review October 30, 2026 06:24
@zhouguangyuan0718
zhouguangyuan0718 merged commit f88abee into go1.27.master Oct 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant