//===- llvm/Support/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 "WindowsSupport.h" #include #include using namespace llvm; // HLSL Change Starts - this is a fixed static char array now. #if _WIN32 const char *sys::getDefaultTargetTriple() { return "dxil-ms-dx"; } #else std::string sys::getDefaultTargetTriple() { return Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE); } #endif // HLSL Change Ends - this is a fixed static char array now.