[compiler-rt] r208591 - __clear_cache: decorate with COMPILER_RT_EXPORT
Saleem Abdulrasool
compnerd at compnerd.org
Mon May 12 09:28:11 PDT 2014
Author: compnerd
Date: Mon May 12 11:28:11 2014
New Revision: 208591
URL: http://llvm.org/viewvc/llvm-project?rev=208591&view=rev
Log:
__clear_cache: decorate with COMPILER_RT_EXPORT
Use COMPILER_RT_EXPORT rather than COMPILER_RT_ABI for this function. Adding an
explicit PCS standard to the function causes a mismatch between the
declarations. Furthermore, the function is implemented in C, and should take
the CC based on the target triple.
Modified:
compiler-rt/trunk/lib/builtins/clear_cache.c
Modified: compiler-rt/trunk/lib/builtins/clear_cache.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/clear_cache.c?rev=208591&r1=208590&r2=208591&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/clear_cache.c (original)
+++ compiler-rt/trunk/lib/builtins/clear_cache.c Mon May 12 11:28:11 2014
@@ -32,7 +32,7 @@
* specified range.
*/
-COMPILER_RT_ABI void
+COMPILER_RT_EXPORT void
__clear_cache(void* start, void* end)
{
#if __i386__ || __x86_64__
More information about the llvm-commits
mailing list