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 | c17450236e2edfb50917cc3a14e757342e5fd72f (patch) | |
tree | 3a9945652723bb236182ec39ad5d25da6f1480ee /compiler-rt/lib/builtins | |
parent | 36c426e4912085823c91615eac5a5f59cdca2af8 (diff) | |
download | bcm5719-llvm-c17450236e2edfb50917cc3a14e757342e5fd72f.tar.gz bcm5719-llvm-c17450236e2edfb50917cc3a14e757342e5fd72f.zip |
__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
Diffstat (limited to 'compiler-rt/lib/builtins')
-rw-r--r-- | compiler-rt/lib/builtins/clear_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c index d8fa0aa3333..54c928810cd 100644 --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/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__ |