diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-05-12 16:28:11 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-05-12 16:28:11 +0000 |
commit | 76a80b1b277c477cd1a2fbee4f9b024bb1bc56c6 (patch) | |
tree | ac9166f7ae93298e28ace2183546efd661479c9f /lib/builtins/clear_cache.c | |
parent | 56fe5bc766b3fd3260201b2bdfaa8cd46046822e (diff) | |
download | compiler-rt-76a80b1b277c477cd1a2fbee4f9b024bb1bc56c6.tar.gz |
__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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/clear_cache.c')
-rw-r--r-- | lib/builtins/clear_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/clear_cache.c b/lib/builtins/clear_cache.c index d8fa0aa33..54c928810 100644 --- a/lib/builtins/clear_cache.c +++ b/lib/builtins/clear_cache.c @@ -32,7 +32,7 @@ * specified range. */ -COMPILER_RT_ABI void +COMPILER_RT_EXPORT void __clear_cache(void* start, void* end) { #if __i386__ || __x86_64__ |