mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
aec3d9857f
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. llvm-svn: 68118
24 lines
657 B
C++
24 lines
657 B
C++
//===- llvm/System/Win32/Host.inc -------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the Win32 Host support.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "Win32.h"
|
|
#include <cstdio>
|
|
#include <string>
|
|
|
|
using namespace llvm;
|
|
|
|
std::string sys::getHostTriple() {
|
|
// FIXME: Adapt to running version.
|
|
return LLVM_HOSTTRIPLE;
|
|
}
|