Skip to content

Use configured tools for ThinLTO indexing - #852

Open
cerisier wants to merge 2 commits into
bazelbuild:mainfrom
cerisier:cerisier/thinlto-index-action-tool
Open

Use configured tools for ThinLTO indexing#852
cerisier wants to merge 2 commits into
bazelbuild:mainfrom
cerisier:cerisier/thinlto-index-action-tool

Conversation

@cerisier

Copy link
Copy Markdown
Contributor

ThinLTO indexing shares link finalization, but tool lookup currently uses the final link action instead of the indexing action. A rule-based toolchain with a dedicated indexing driver therefore runs the ordinary linker, and files owned only by that indexing tool are omitted from the legacy linker_files input set.

Use the actual action name for tool selection and associate all three ThinLTO indexing actions with linker_files. Ordinary link and archive actions are unchanged. Focused analysis coverage assigns distinct tools to executable linking and indexing, and covers all three file-group mappings.

@cerisier
cerisier marked this pull request as ready for review August 21, 2026 12:29

@lilygorsheneva lilygorsheneva left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, might need to resolve merge confilcts

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.

2 participants