[PATCH] D29686: [CMake] Fix USE_LLVM_SANITIZER configuration for out-of-tree builds.

Ivan Krasin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 14:56:41 PST 2017


krasin added a comment.

Hi Eric,

thank you for the explanation. After seeing your use case, I agree that the patch makes sense. After all, libc++ does not depend on libstdc++.

In the unlikely case when someone builds something like that with UBSan and do depends on libstdc++, they are welcome to provide a path to the blacklist in CMAKE_C_FLAGS / CMAKE_CXX_FLAGS or add another condition here.


Repository:
  rL LLVM

https://reviews.llvm.org/D29686





More information about the llvm-commits mailing list