[llvm-branch-commits] [clang] [Clang] Add -fsanitize=daddress for Device AddressSanitizer (PR #242444)
Yaxun Liu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Nov 14 03:43:53 PST 2026
================
@@ -777,6 +777,11 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
SanitizerKind::Address | SanitizerKind::Thread |
SanitizerKind::Undefined | SanitizerKind::Memory |
SanitizerKind::Type),
+ // TODO: Need to split the runtime to support this.
+ std::make_pair(SanitizerKind::DeviceAddress,
+ SanitizerKind::Address | SanitizerKind::Thread |
----------------
yxsamliu wrote:
`daddress,float-divide-by-zero` and `daddress,nullability` fail to link with the static runtimes from #242445 because DASan and UBSan define the same symbols. Could we reject these combinations until the runtimes can work together?
https://github.com/llvm/llvm-project/pull/242444
More information about the llvm-branch-commits
mailing list