Skip to content

Fix uninitialized IRGenOptions field #42123

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Mar 31, 2022

#42094 added a new IRGenOptions::CompactAbsoluteFunctionPointer field, but did not initialize it. We subsequently started seeing flaky test failures in LLDB tests that tried to resolve relocations in metadata, so we think this may have resulted in the option sometimes being set to true in the REPL.

Hopefully fixes rdar://91127507.

swiftlang#42094 added a new `IRGenOptions::CompactAbsoluteFunctionPointer` field, but did not initialize it. We subsequently started seeing flaky test failures in LLDB tests that tried to resolve relocations in metadata, so we think this may have resulted in the option sometimes being set to `true` in the REPL.
@beccadax
Copy link
Contributor Author

@swift-ci smoke test and merge

@slavapestov
Copy link
Contributor

Nice catch!

@beccadax
Copy link
Contributor Author

@kateinoigakukun

@JDevlieghere
Copy link
Contributor

Thanks @beccadax!

@swift-ci swift-ci merged commit 95dfdb6 into swiftlang:main Mar 31, 2022
@kateinoigakukun
Copy link
Member

Thank you @beccadax 🙏

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants