Skip to content

Conversation

@bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Nov 17, 2025

Update the Address and Thread sanitizers xcspec properties to support using clang and swiftc as a linker.

relates to:

bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Nov 17, 2025
Update the SwiftPM's SwiftBuild integration to support enabling
`address`, `thread` and `undefined` sanitizers while erroring out on
the `scudo` and `fuzzer`.

Depends on: swiftlang/swift-build#926
@bkhouri
Copy link
Contributor Author

bkhouri commented Nov 18, 2025

@swift-ci test

@bkhouri bkhouri requested a review from owenv November 18, 2025 03:30
@bkhouri bkhouri force-pushed the t/main/gh8869_rdar154299293_enable_address_sanitizer branch from e6d0420 to adfe77d Compare November 18, 2025 03:32
@bkhouri
Copy link
Contributor Author

bkhouri commented Nov 18, 2025

@swift-ci test

@owenv
Copy link
Collaborator

owenv commented Nov 18, 2025

it would be good to have a basic test for this in LinkerTaskConstructionTests.swift, stdlibRpathSuppression() is testing a similar kind of thing

Update the Address and Thread sanitizers XCspect properties to support
using clang and swiftc as a linker.
@bkhouri bkhouri force-pushed the t/main/gh8869_rdar154299293_enable_address_sanitizer branch from adfe77d to cbfb043 Compare November 18, 2025 19:06
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.

3 participants