Host.inc 879 B

123456789101112131415161718192021222324252627282930
  1. //===- llvm/Support/Win32/Host.inc ------------------------------*- C++ -*-===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. //
  10. // This file implements the Win32 Host support.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #include "WindowsSupport.h"
  14. #include <cstdio>
  15. #include <string>
  16. using namespace llvm;
  17. // HLSL Change Starts - this is a fixed static char array now.
  18. #if 0
  19. std::string sys::getDefaultTargetTriple() {
  20. return Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE);
  21. }
  22. #else
  23. const char *sys::getDefaultTargetTriple() {
  24. return "dxil-ms-dx";
  25. }
  26. #endif
  27. // HLSL Change Ends - this is a fixed static char array now.