Skip to content
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

Improve API #22

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Improve API #22

wants to merge 18 commits into from

Conversation

dkfellows
Copy link
Owner

This is about rethinking what the API should be, as well as moving more safety constraints into the binding layer so that it is harder to use the code in ways that make it crash inside LLVM with assertion failures.

@dkfellows dkfellows added this to the 4.0 milestone Apr 30, 2018
@ghost
Copy link

ghost commented May 13, 2019

Slackware/Slackware64 llvm package creation scripts contain the below content.

http://slackblog.com/slackware/slackware64-current/source/d/llvm/llvm.SlackBuild
...

# need to disable assertions to make llvm thread-safe
...

-DLLVM_ENABLE_ASSERTIONS=OFF

@dkfellows
Copy link
Owner Author

dkfellows commented Feb 2, 2020

LLVM's assertions shouldn't be a problem with thread safety for us; the long-term goal is to make them all effectively unreachable (as they're stop-the-world crashes from Tcl's perspective). We are not there yet…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant