Skip to content

Fixes for nightly#870

Merged
maleadt merged 2 commits into
mainfrom
tb/nightly
Jul 9, 2026
Merged

Fixes for nightly#870
maleadt merged 2 commits into
mainfrom
tb/nightly

Conversation

@maleadt

@maleadt maleadt commented Jul 9, 2026

Copy link
Copy Markdown
Member

No description provided.

maleadt and others added 2 commits July 9, 2026 15:47
Since JuliaLang/julia#61527 (1.14.0-DEV.2614), the LowerPTLS pass may
emit calls to `jl_get_pgcstack_resolved`, a symbol that only exists
within the JIT and cannot be looked up using `jl_cglobal`, causing
the ResolveCPUReferences pass to error on such modules (as seen on
Windows CI, where the TLS getter cannot be lowered to a TP access).

As this pass only rewrites loads from `jl_` bindings, and such JIT-only
symbols are only ever called, resolve binding addresses lazily, i.e.,
only when actually replacing a load.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- suppress the unbound-typevar warning emitted when defining the
  test method (does not work on 1.12, where `redirect_stderr` does
  not capture C-level output);
- suppress FileCheck diagnostics from always_inline tests that are
  known to be broken on 1.13+.

Also add a regression test for resolving CPU references in modules
that call JIT-private `jl_` symbols (JuliaLang/julia#61527).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@maleadt maleadt merged commit 8559d5b into main Jul 9, 2026
36 of 37 checks passed
@maleadt maleadt deleted the tb/nightly branch July 9, 2026 15:45
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.24%. Comparing base (a17a5b3) to head (08514a8).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/mcgen.jl 28.57% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #870      +/-   ##
==========================================
+ Coverage   80.04%   80.24%   +0.19%     
==========================================
  Files          25       25              
  Lines        4810     4813       +3     
==========================================
+ Hits         3850     3862      +12     
+ Misses        960      951       -9     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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