Skip to content

Run static constructors/destructors on init/deinit #84

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

Merged
merged 1 commit into from
Apr 2, 2017

Conversation

CodaFi
Copy link
Member

@CodaFi CodaFi commented Apr 2, 2017

The JIT needs to be instructed to perform these actions. Because I can't think of a reason not to run this code, execute the constructors in init and the destructors in deinit.

@harlanhaskins
Copy link
Member

:shipit:

@harlanhaskins harlanhaskins merged commit 9ab928a into llvm-swift:master Apr 2, 2017
@CodaFi CodaFi deleted the destruction-site branch April 2, 2017 23:07
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.

2 participants