Allow overriding the default set of flags used to enable UBSan when
building llvm.
This can be used to test new checks or opt out of certain checks.
Paths
| Differential D89439
[cmake] Add LLVM_UBSAN_FLAGS, to allow overriding UBSan flags ClosedPublic Authored by vsk on Oct 14 2020, 7:12 PM.
Details Summary Allow overriding the default set of flags used to enable UBSan when This can be used to test new checks or opt out of certain checks.
Diff Detail
Unit TestsFailed
Event Timeline
This revision is now accepted and ready to land.Oct 26 2020, 3:33 PM This revision was landed with ongoing or failed builds.Oct 26 2020, 3:48 PM Closed by commit rG905f874c449c: [cmake] Add LLVM_UBSAN_FLAGS, to allow overriding UBSan flags (authored by vsk). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 298277 llvm/CMakeLists.txt
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/docs/CMake.rst
|
should this be option()? I think this will overwrite -DLLVM_UBSAN_FLAGS=<value>.