mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147542 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -560,6 +560,9 @@
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#cmakedefine01 LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will run on */
|
||||
#cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
|
||||
|
||||
/* Installation directory for include files */
|
||||
#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
|
||||
|
||||
|
@@ -558,6 +558,9 @@
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#undef LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will run on */
|
||||
#undef LLVM_HOST_TRIPLE
|
||||
|
||||
/* Installation directory for include files */
|
||||
#undef LLVM_INCLUDEDIR
|
||||
|
||||
|
@@ -40,6 +40,9 @@
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#cmakedefine01 LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will run on */
|
||||
#cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
|
||||
|
||||
/* Installation directory for include files */
|
||||
#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
|
||||
|
||||
|
@@ -40,6 +40,9 @@
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#undef LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will run on */
|
||||
#undef LLVM_HOST_TRIPLE
|
||||
|
||||
/* Installation directory for include files */
|
||||
#undef LLVM_INCLUDEDIR
|
||||
|
||||
|
Reference in New Issue
Block a user