TWEAK

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129835 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 84a245a..f331c50 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -129,7 +129,7 @@
       }
     } else {
       Triple.getOSVersion(Maj, Min, Rev);
-      PlatformName = Triple.getOSName();
+      PlatformName = llvm::Triple::getOSTypeName(Triple.getOS());
     }
   }