Skip to content

[RemoteMirrors] Clear the Demangler on each iteration of the loop in getFieldTypeInfo. #17294

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
Jun 19, 2018

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Jun 18, 2018

Otherwise the Demangler can end up allocating hundreds of megabytes of memory.

rdar://problem/40826018

…getFieldTypeInfo. Otherwise the Demangler can end up allocating hundreds of megabytes of memory.

rdar://problem/40826018
@mikeash
Copy link
Contributor Author

mikeash commented Jun 18, 2018

@swift-ci please test

@mikeash mikeash merged commit a378536 into swiftlang:master Jun 19, 2018
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.

1 participant