Skip to content

Conversation

@bulbazord
Copy link
Contributor

This is a cherry-pick of #64993

Some versions of the swift driver have a bug where passing -sanitize= does not emit the correct -fsanitize= flag for the clang link step. Although this is being fixed, we must be able to correctly build with older versions of the swift driver for some period of time. We workaround that issue by explicitly passing the correct -fsanitize= argument ourselves.

This works around rdar://107733898

(cherry picked from commit 7c52fe2)

Some versions of the swift driver have a bug where passing `-sanitize=`
does not emit the correct `-fsanitize=` flag for the clang link step.
Although this is being fixed, we must be able to correctly build with older
versions of the swift driver for some period of time. We workaround that
issue by explicitly passing the correct `-fsanitize=` argument
ourselves.

This works around rdar://107733898

(cherry picked from commit 7c52fe2)
@bulbazord bulbazord requested a review from a team as a code owner April 7, 2023 00:05
@bulbazord
Copy link
Contributor Author

@swift-ci please test

@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
@bulbazord bulbazord closed this May 14, 2024
@bulbazord bulbazord deleted the 5.9-workaround_driver_sanitizer_bug branch May 14, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 release cherry pick Flag: Release branch cherry picks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants