SwiftDriver: enable -sanitize= on Windows selectively - #1804
Merged
Conversation
ASAN, UBSAN are available on Windows while TSAN is not. The toolchain has started building the runtimes and will be distributing them with the toolchain builds. This change enables the support in the driver for the santizers on Windows.
Member
Author
|
@swift-ci please test |
Member
Author
|
@artemcm one question here: what should we do? The llvm.org builds for Windows seem to have the single directory naming (where the architecture is slapped onto the library name). The per-target directory avoids that and is more convenient for composition. Edit: note that clang will prefer the target triple path and the architecture suffixed variant is considered the "old style". |
artemcm
approved these changes
Feb 17, 2025
Contributor
|
The "new" style seems like the way to go, especially since even |
Contributor
|
Reverted in #1816 as it broke Linux CI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ASAN, UBSAN are available on Windows while TSAN is not. The toolchain has started building the runtimes and will be distributing them with the toolchain builds. This change enables the support in the driver for the santizers on Windows.