• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / 1639
77%
master: 77%

Build:
Build:
LAST BUILD BRANCH: v1.13.0-beta3
DEFAULT BRANCH: master
Ran 11 Mar 2026 11:36PM UTC
Jobs 3
Files 350
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Mar 2026 01:44PM UTC coverage: 76.798%. First build
1639

push

buildkite

web-flow
codegen: LLVM 21 ThreadSafeContext and EHFrame compatibility (#61273)

## Summary

- Add `withContextDo` compatibility shim for `ThreadSafeContext` API
changes in LLVM 21 (which removes `getLock()`, `Lock`, and
`getContext()` in favor of callback-based `withContextDo`)
- Replace all manual lock/unlock patterns with scoped `withContextDo`
callbacks across `jitlayers.h`, `jitlayers.cpp`, `aotcompile.cpp`, and
`disasm.cpp`
- Add `JLEHFrameRegistrationPlugin` for LLVM 21+ (which removes
`jitlink::EHFrameRegistrar`), using JITLink allocation actions for EH
frame registration
- Debug asserts ensure `get_context()`/`get_module()` are only called
inside `withContextDo` scope
- Lock hierarchy respected: TSC locks released before
`addOutput()`/`R->replace()` which can trigger materialization

Supersedes #59946 and #60358, forward-porting those changes to current
master.

## Test plan

- [x] Builds and passes smoke test on LLVM 20
- [x] Builds and passes smoke test on LLVM 21 (tested with libLLVM
21.1.2 JLL)
- [ ] CI

This pull request was written with the assistance of generative AI
(Claude).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

There is quite a few whitespace changes so ignoring it is quite helpful

---------

Co-authored-by: yuyichao <yyc1992@gmail.com>
Co-authored-by: Sam Schweigel <sam.schweigel@juliahub.com>

63556 of 82757 relevant lines covered (76.8%)

23513117.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1639 macos-coverage - 1639 11 Mar 2026 11:36PM UTC 350
75.01
1639 windows-coverage - 1639 12 Mar 2026 03:09AM UTC 317
74.91
1639 linux-coverage - 1639 12 Mar 2026 02:16AM UTC 349
75.52
Source Files on build 1639
  • Tree
  • List 350
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f59c6dfd on github
  • Prev Build on main (#1625)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc