Skip to content

Conversation

usama54321
Copy link
Contributor

new sanitiers stable ABI in compiler-rt.

Compiler-rt recently introduced a stable ABI for sanitizers. This patch adds a flag to pass this flag to swift-frontend during compilation and clang at link time to link against the new stable ABI.

rdar://118997873

new sanitiers stable ABI in compiler-rt.

Compiler-rt recently introduced a stable ABI for sanitizers. This patch
adds a flag to pass this flag to swift-frontend during compilation and
clang at link time to link against the new stable ABI.

rdar://118997873
@usama54321
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@wrotki wrotki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

try commandLine.appendLast(.sanitizeEQ, from: &parsedOptions)
try commandLine.appendLast(.sanitizeRecoverEQ, from: &parsedOptions)
try commandLine.appendLast(.sanitizeAddressUseOdrIndicator, from: &parsedOptions)
try commandLine.appendLast(.sanitizeStableAbiEQ, from: &parsedOptions)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please guard this with isFrontendArgSupported(.sanitizeStableAbiEQ)?

@wrotki
Copy link
Contributor

wrotki commented Dec 15, 2023

Usama won't be able to add this isFrontendArgSupported(.sanitizeStableAbiEQ) check, so I cloned this PR to #1509 and applied the change there

@artemcm artemcm closed this Dec 16, 2023
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