[compiler-rt] r303190 - builtins: add missing includes
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 10:06:48 PDT 2017
Author: compnerd
Date: Tue May 16 12:06:48 2017
New Revision: 303190
URL: http://llvm.org/viewvc/llvm-project?rev=303190&view=rev
Log:
builtins: add missing includes
This inclusion is needed to fix the ARM build. The int_lib.h include is
slightly ugly, but allows us to use the `AEABI_RTABI` macro to decorate
the CC for the functions.
Modified:
compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c
compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c?rev=303190&r1=303189&r2=303190&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c Tue May 16 12:06:48 2017
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include <stdint.h>
+#include "../int_lib.h"
AEABI_RTABI __attribute__((visibility("hidden")))
int __aeabi_cdcmpeq_check_nan(double a, double b) {
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c?rev=303190&r1=303189&r2=303190&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c Tue May 16 12:06:48 2017
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include <stdint.h>
+#include "../int_lib.h"
AEABI_RTABI __attribute__((visibility("hidden")))
int __aeabi_cfcmpeq_check_nan(float a, float b) {
More information about the llvm-commits
mailing list