Skip to content

[metacling] Destroy and release llvm::ManagedStatics #19109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaronj0
Copy link
Contributor

@aaronj0 aaronj0 commented Jun 20, 2025

Fixes #18933

Following up on this issue, CppInterOp now uses ManagedStatic to support a stack of multiple interpreters. Although we do not use this feature (yet?), this shutdown call is now required in TCling.

@aaronj0 aaronj0 requested a review from vgvassilev June 20, 2025 08:55
@aaronj0 aaronj0 requested review from dpiparo and pcanal as code owners June 20, 2025 08:55
@aaronj0 aaronj0 self-assigned this Jun 20, 2025
@aaronj0 aaronj0 force-pushed the tcling-llvm-shutdown branch 2 times, most recently from 4b62f59 to f5e3914 Compare June 20, 2025 11:56
@aaronj0 aaronj0 force-pushed the tcling-llvm-shutdown branch from f5e3914 to 88740e4 Compare June 20, 2025 12:55
Copy link

Test Results

    20 files      20 suites   3d 18h 52m 18s ⏱️
 3 016 tests  3 016 ✅ 0 💤 0 ❌
58 726 runs  58 726 ✅ 0 💤 0 ❌

Results for commit 88740e4.

@vgvassilev
Copy link
Member

Can you check if the clad timing system works through setting the env variable?

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.

Make sure we call llvm_shutdown in the TCling destruction
2 participants