Repository navigation
fix: retain local Clang program-search paths for MSVC links - #1057
Draft
dreamyloong2005 wants to merge 1 commit into
Draft
dreamyloong2005 wants to merge 1 commit into
dreamyloong2005 wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A focused toolchain-model policy selects the supplied local Clang bin-directory spelling when it contains a regular lld-link executable. Project C/C++ links and host-link tokens add that directory as a Clang program-search prefix. Explicit tools.ld overrides, managed toolchains, other compilers/ABIs and absent linkers retain their existing behavior.
Closes #1050.
Criteria
Fresh integration
ci.The native Windows product build and focused CLI checks use a local integration of #1048, #1049, #1050, #1051, #1052 and #1053 on
b30e9bc0218730f7ef3b8a9c163ecc31d97aa88e. That is combined validation, not six isolated full-tree builds. The prior 2026.12.4.1 LPAC candidate is separate evidence and is not treated as acceptance of this branch. Linux/macOS and full hosted checks remain pending.Intersections
ClangProgramSearchandClangProgramSearchFlagstestsCompatibility
No installation, PATH, ACL or platform provider changes are made. A local Clang/MSVC tree with lld-link receives one link-only program-search prefix; other routes are unchanged. External IPC/Ninja LPAC issues remain independent.
Checks before merging
git diff --checkandcheck_workflow_assertions.pypass locally.This pull request is a draft. No merge is requested.
These engine fixes require the applicable full CI gates before merge. The contributor cannot assign upstream labels; a maintainer can apply
ci:fullbefore the next push according to the contributing workflow. No separate duplicate workflow dispatch is requested.