Handle LLVM_USE_SANITIZER=Address;Undefined to enable ASan and UBSan
If UBSan is compatible with more of the other sanitizers, maybe we should
deal with this in a better way where we allow combining UBSan with any of
the other sanitizers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM after fixing a nit below. We don't plan to support running UBSan with any other sanitizer except for ASan in the short term.
cmake/modules/HandleLLVMOptions.cmake | ||
---|---|---|
401 ↗ | (On Diff #18324) | You can use a single append() statement: append("-fsanitize=address,undefined -fno-sanitize=...") |