forked from OSchip/llvm-project
builtins: remove use of __attribute__((pcs("aapcs"))) on Windows
Windows does not honour the __attribute__((pcs)) on ARM. Although this will result in ABI mismatches, compiler-rt should largely be unneeded for resolving dependencies as we generate MS ABI compliant library calls now for the most part. llvm-svn: 266891
This commit is contained in:
parent
c6b17bdc29
commit
28e1b977d4
|
@ -35,11 +35,7 @@
|
|||
# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
|
||||
#else
|
||||
# define ARM_EABI_FNALIAS(aeabi_name, name)
|
||||
# if defined(__arm__) && defined(_WIN32) && (!defined(_MSC_VER) || defined(__clang__))
|
||||
# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
|
||||
# else
|
||||
# define COMPILER_RT_ABI
|
||||
# endif
|
||||
# define COMPILER_RT_ABI
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in New Issue