-
Notifications
You must be signed in to change notification settings - Fork 159
Disable using -fsanitize=leak
from the Clang Driver.
#249
Disable using -fsanitize=leak
from the Clang Driver.
#249
Conversation
f9d194e
to
9e32eea
Compare
LeakSanitizer (LSan) is not yet mature for Darwin so until this changes we should avoid supporting it in Swift Clang and AppleClang. rdar://problem/45841334
9e32eea
to
220790f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch is used to build for Linux too. I think we even run Leak Sanitizer on Swift stuff there.
In general, |
@jrose-apple This change is only for Darwin. Linux should remain unchanged by this PR. |
This patch was originally intended to be internal but @hyp requested it be moved here. |
Whoops! I misread the file where the change went to. Okay, I'm still not sure about the Apple-internal bit but the change itself seems reasonable.
@jrose-apple The commits shouldn't mention |
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and failed without this patch when using the newer Clang. rdar://problem/45841334
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334 (cherry picked from commit 56b6455)
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334 (cherry picked from commit 56b6455)
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334 apple-llvm-split-commit: 56b645581726e29691a47fec4e2adbb18e7b09e4 apple-llvm-split-dir: compiler-rt/
LeakSanitizer (LSan) is not yet mature for Darwin so until this
changes we should avoid supporting it in Swift Clang and AppleClang.
rdar://problem/45841334