forked from OSchip/llvm-project
__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:
parent
36c426e491
commit
c17450236e
|
@ -32,7 +32,7 @@
|
|||
* specified range.
|
||||
*/
|
||||
|
||||
COMPILER_RT_ABI void
|
||||
COMPILER_RT_EXPORT void
|
||||
__clear_cache(void* start, void* end)
|
||||
{
|
||||
#if __i386__ || __x86_64__
|
||||
|
|
Loading…
Reference in New Issue