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

JuliaLang / julia / 1639 / 1639
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: v1.13.0-rc1
DEFAULT BRANCH: master
Ran 12 Mar 2026 03:10AM UTC
Files 349
Run time 10s
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: 75.516%. 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>

62404 of 82637 relevant lines covered (75.52%)

8289315.11 hits per line

Source Files on job linux-coverage - 1639
  • Tree
  • List 349
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1639
  • f59c6dfd on github
  • Next Job for on main (#1649)
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