You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to go about this. One idea would be to have an "lsan" lit feature, and add "UNSUPPORTED: lsan" to all the lit tests that we don't want to run. This would be very invasive because we'd add "UNSUPPORTED: lsan" to nearly every test at the beginning.
Is there some way to do the inverse of that? e.g. make "UNSUPPORTED: lsan" be the default, and add something like "SUPPORTED: lsan" to tests that we want to whitelist?
Additional Detail from JIRA
md5: 86076117d09746fdbcb03dba784d1292
Issue Description:
The LSAN CI job currently builds the compiler and the stdlib but does not run any tests (https://github.com/apple/swift/blob/1afd0f7cf757ba6b12d2af0d151eafb022acf439/utils/build-presets.ini#L1084). This can lead to uncaught leak regressions in code paths that are not exercised by the stdlib build (e.g. SR-11287).
There seem to be enough leaks in the compiler that it would be impractical to run all tests under LSAN.
If we configure the LSAN CI job to run a whitelisted subset of tests, we could slowly add more tests to the whitelist as leaks get fixed.
The text was updated successfully, but these errors were encountered: