[PATCH] D38703: [lit] Only enable LSan on darwin when clang supports it

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 15:44:17 PDT 2017


zturner added a comment.

Heh, we crossed paths.  Yea that seems reasonable.  Can you emit a warning if any of the following are true though?

1. `llvm_use_sanitizer` is true, but `host_cxx` doesn't look like a clang compiler.
2. 'self.get_clang_has_lsan` is called, but `host_cxx` is not present.


https://reviews.llvm.org/D38703





More information about the llvm-commits mailing list