__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.

llvm-svn: 208591
This commit is contained in:
Saleem Abdulrasool 2014-05-12 16:28:11 +00:00
parent 36c426e491
commit c17450236e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
* specified range.
*/
COMPILER_RT_ABI void
COMPILER_RT_EXPORT void
__clear_cache(void* start, void* end)
{
#if __i386__ || __x86_64__