[commit: ghc] master: lowercase clang (f3979b7)
git at git.haskell.org
git at git.haskell.org
Thu Jul 6 07:02:26 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/f3979b7fbd83e85301ba2f028936fb7c50a48f42/ghc
>---------------------------------------------------------------
commit f3979b7fbd83e85301ba2f028936fb7c50a48f42
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date: Thu Jul 6 11:31:20 2017 +0800
lowercase clang
>---------------------------------------------------------------
f3979b7fbd83e85301ba2f028936fb7c50a48f42
rts/sm/Storage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 7b97c01..ffaed5f 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1341,7 +1341,7 @@ StgWord calcTotalCompactW (void)
#include <libkern/OSCacheControl.h>
#endif
-#if defined(__CLANG__)
+#if defined(__clang__)
/* clang defines __clear_cache as a builtin on some platforms.
* For example on armv7-linux-androideabi. The type slightly
* differs from gcc.
@@ -1366,7 +1366,7 @@ void flushExec (W_ len, AdjustorExecutable exec_addr)
#elif (defined(arm_HOST_ARCH) || defined(aarch64_HOST_ARCH)) && defined(ios_HOST_OS)
/* On iOS we need to use the special 'sys_icache_invalidate' call. */
sys_icache_invalidate(exec_addr, len);
-#elif defined(__CLANG__)
+#elif defined(__clang__)
unsigned char* begin = (unsigned char*)exec_addr;
unsigned char* end = begin + len;
# if __has_builtin(__builtin___clear_cache)
More information about the ghc-commits
mailing list