[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 14:24:13 PDT 2017


zturner added inline comments.


================
Comment at: utils/lit/lit/llvm/config.py:83
             if re.match(r'^x86_64.*-apple', target_triple):
-                if 'address' in sanitizers:
+                if 'address' in sanitizers and self.get_clang_has_lsan(config.host_cxx, target_triple):
                     self.with_environment(
----------------
How is `config.host_cxx` set?  I don't think this is always set is it?


https://reviews.llvm.org/D38703





More information about the llvm-commits mailing list