← Back to Pull requests

Pass fission flags to ThinLTO backend actions #837

Closed
akonradi closed this pull request without merging on Aug 14, 2026 08:40 UTC
View on GitHub
akonradi akonradi commented on Aug 03, 2026 15:41 UTC
Author

Fix interaction between --fission and --features=thin_lto. Without this, every LTO backend action fails:

ERROR: output 'prog.lto/bazel-out/k8-opt/bin/_objs/prog/a.dwo' was not created
ERROR: LTO Backend Compile prog.lto/bazel-out/k8-opt/bin/_objs/prog/a.o failed:
       not all outputs were created or valid

Fixed by adding ACTION_NAMES.lto_backend to the per_object_debug_info flag_set in
cc/private/toolchain/unix_cc_toolchain_config.bzl and cc/private/toolchain_config/legacy_features.bzl.

Adds a test that uses the real Linux cc_toolchain_config since that wasn't covered by the existing test, and was broken.

Diff: 118 lines (+118 / -0) across 5 files Reviewer: lilygorsheneva Review duration: 15419m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.37) × (1 − Review Confidence (0.77)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 118 lines diff across 5 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 4 substantive comment(s)
0.71
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
77%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.286
Real PR Conversation Timeline
6 items
google-cla[bot] google-cla[bot] commented on Aug 03, 2026 15:41 UTC
Bot

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

trybka trybka commented on Aug 03, 2026 15:45 UTC
Contributor

I think you need to complete the Google CLA, but otherwise I think this looks good.

akonradi akonradi commented on Aug 03, 2026 16:01 UTC
Author

Ha, it was the Claude co-author attribution. Removed and force-pushed, same contents.

lilygorsheneva lilygorsheneva approved these changes on Aug 03, 2026 22:45 UTC
Approved Reviewer

Approved these changes.

akonradi akonradi commented on Aug 07, 2026 15:38 UTC
Author

@trybka still seems good?

Assignees
akonradi akonradi
Labels
risk: low confidence: 77.1% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 37.5% (MEDIUM) · Higher = larger blast radius
37.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 77.1% · Lower = rushed or shallow review
77.1%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 8.6% · Safe to merge
8.6%