builtins: remove unnecessary COMPILER_RT_EXPORT

This macro did not do anything at this point, and is not particularly needed for
Windows unless building the builtins as a shared library.  NFC.

llvm-svn: 217321
This commit is contained in:
Saleem Abdulrasool 2014-09-06 21:33:55 +00:00
parent 7b46a59b5a
commit b6a85b4f6a
2 changed files with 3 additions and 11 deletions

View File

@ -32,9 +32,7 @@
* specified range.
*/
COMPILER_RT_EXPORT void
__clear_cache(void* start, void* end)
{
void __clear_cache(void *start, void *end) {
#if __i386__ || __x86_64__
/*
* Intel processors have a unified instruction and data cache

View File

@ -22,19 +22,13 @@
/* ABI macro definitions */
/*
* TODO define this appropriately for targets that require explicit export
* declarations (i.e. Windows)
*/
#define COMPILER_RT_EXPORT
#if __ARM_EABI__
# define ARM_EABI_FNALIAS(aeabi_name, name) \
void __aeabi_##aeabi_name() __attribute__((alias("__" #name)));
# define COMPILER_RT_ABI COMPILER_RT_EXPORT __attribute__((pcs("aapcs")))
# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
#else
# define ARM_EABI_FNALIAS(aeabi_name, name)
# define COMPILER_RT_ABI COMPILER_RT_EXPORT
# define COMPILER_RT_ABI
#endif
#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE))