Add llvm::sys::getHostTriple and remove
authorDaniel Dunbar <daniel@zuster.org>
Tue, 31 Mar 2009 17:30:15 +0000 (17:30 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 31 Mar 2009 17:30:15 +0000 (17:30 +0000)
commitbe46c79501eda9b9cd7bbb02d7e3e88f0c599c50
treeabedebe70d79ca2908b6ddb81da366b6c85361b2
parent456e281c11914034558f9878f88688ab7873647a
Add llvm::sys::getHostTriple and remove
llvm::sys::getOS{Name,Version}.

Right now the implementation just derives from LLVM_HOSTTRIPLE (which
is wrong, but it doesn't look like we have a define for the target
triple). Ideally this routine would actually be able to compute the
triple for targets we care about.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68118 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/Host.h
lib/System/Unix/Host.inc
lib/System/Win32/Host.inc