[PATCH] D13413: Use MSVC-equivalents of attributes

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 18:59:24 PDT 2015


compnerd added inline comments.

================
Comment at: lib/builtins/int_lib.h:38
@@ -37,3 +37,3 @@
 # define ARM_EABI_FNALIAS(aeabi_name, name)
-# if defined(__arm__) && defined(_WIN32)
+# if defined(__arm__) && defined(_WIN32) && !defined(_MSC_VER)
 #   define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
----------------
This should be:

    #if defined(__arm__) && defined(_WIN32) && !(defined(_MSC_VER) && defined(__clang__))


http://reviews.llvm.org/D13413





More information about the llvm-commits mailing list