forked from OSchip/llvm-project
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:
parent
7b46a59b5a
commit
b6a85b4f6a
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue