Add PrefixPrinter arguments to the dump routines for MachineFunction and
[oota-llvm.git] / include / llvm / System / Host.h
index 22e36e7ba7b552c8fc4a075995fa4cce7cfc159f..3c6aa9dd7155bc24b2539ab937b89fcba20a5c76 100644 (file)
@@ -32,13 +32,15 @@ namespace sys {
     return !isLittleEndianHost();
   }
 
-  /// getOSName() - Return the name of the host operating system or "" if
-  /// unknown.
-  std::string getOSName();
+  /// getHostTriple() - Return the target triple of the running
+  /// system.
+  ///
+  /// The target triple is a string in the format of:
+  ///   CPU_TYPE-VENDOR-OPERATING_SYSTEM
+  /// or
+  ///   CPU_TYPE-VENDOR-KERNEL-OPERATING_SYSTEM
+  std::string getHostTriple();
 
-  /// getOSVersion() - Return the operating system version as a string or
-  /// "" if unknown.
-  std::string getOSVersion();
 }
 }