This revision was automatically updated to reflect the committed changes.
Closed by commit rL290422: [tests] Add missing "int_lib.h" includes and extend 
guards (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D28078?vs=82402&id=82407#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28078

Files:
  compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
  compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c


Index: compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
+++ compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
@@ -11,6 +11,7 @@
 //
 
//===----------------------------------------------------------------------===//
 
+#include "int_lib.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
Index: compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
+++ compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
@@ -11,14 +11,15 @@
 //
 
//===----------------------------------------------------------------------===//
 
+#include "int_lib.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
 
 
+#if __arm__
 extern COMPILER_RT_ABI double __negdf2vfp(double a);
 
-#if __arm__
 int test__negdf2vfp(double a)
 {
     double actual = __negdf2vfp(a);


Index: compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
+++ compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
@@ -11,6 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "int_lib.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
Index: compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
+++ compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
@@ -11,14 +11,15 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "int_lib.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
 
 
+#if __arm__
 extern COMPILER_RT_ABI double __negdf2vfp(double a);
 
-#if __arm__
 int test__negdf2vfp(double a)
 {
     double actual = __negdf2vfp(a);
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to