[PATCH] D15624: Add iOS/watchOS/tvOS support for ASan (clang part)

Alexey Samsonov via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 17 12:41:22 PST 2015


samsonov added a subscriber: samsonov.

================
Comment at: lib/Driver/ToolChains.cpp:368
@@ +367,3 @@
+  StringRef OS = "";
+  if (isTargetMacOS())
+    OS = "osx";
----------------
Wait, this looks horrible. Can we teach toolchain to give us OS name?


http://reviews.llvm.org/D15624





More information about the cfe-commits mailing list