[llvm-commits] [llvm] r117092 - in /llvm/trunk: cmake/config-ix.cmake include/llvm/Config/config.h.cmake include/llvm/Support/Endian.h
Michael J. Spencer
bigcheesegs at gmail.com
Fri Oct 22 01:47:28 PDT 2010
Author: mspencer
Date: Fri Oct 22 03:47:28 2010
New Revision: 117092
URL: http://llvm.org/viewvc/llvm-project?rev=117092&view=rev
Log:
Rename LLVM_IS_TARGET_BIG_ENDIAN to LLVM_IS_HOST_BIG_ENDIAN to reflect what it actually means.
Modified:
llvm/trunk/cmake/config-ix.cmake
llvm/trunk/include/llvm/Config/config.h.cmake
llvm/trunk/include/llvm/Support/Endian.h
Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=117092&r1=117091&r2=117092&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Fri Oct 22 03:47:28 2010
@@ -258,7 +258,7 @@
endif()
endif()
-test_big_endian(LLVM_IS_TARGET_BIG_ENDIAN)
+test_big_endian(LLVM_IS_HOST_BIG_ENDIAN)
if( ENABLE_THREADS )
message(STATUS "Threads enabled.")
Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=117092&r1=117091&r2=117092&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Fri Oct 22 03:47:28 2010
@@ -507,7 +507,7 @@
#cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
/* Define if this is targeting a big endian system */
-#cmakedefine LLVM_IS_TARGET_BIG_ENDIAN ${LLVM_IS_TARGET_BIG_ENDIAN}
+#cmakedefine LLVM_IS_HOST_BIG_ENDIAN ${LLVM_IS_HOST_BIG_ENDIAN}
/* Added by Kevin -- Maximum path length */
#cmakedefine MAXPATHLEN ${MAXPATHLEN}
Modified: llvm/trunk/include/llvm/Support/Endian.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Endian.h?rev=117092&r1=117091&r2=117092&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Endian.h (original)
+++ llvm/trunk/include/llvm/Support/Endian.h Fri Oct 22 03:47:28 2010
@@ -60,7 +60,7 @@
} // end namespace detail
-#if defined(LLVM_IS_TARGET_BIG_ENDIAN) \
+#if defined(LLVM_IS_HOST_BIG_ENDIAN) \
|| defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
static const endianness host_endianness = big;
#else
More information about the llvm-commits
mailing list