[llvm-commits] [compiler-rt] r144752 - in /compiler-rt/trunk/lib: absvdi2.c absvsi2.c absvti2.c addvdi3.c addvsi3.c addvti3.c clear_cache.c eprintf.c gcc_personality_v0.c mulodi4.c mulosi4.c muloti4.c mulvdi3.c mulvsi3.c mulvti3.c negvdi2.c negvsi2.c negvti2.c subvdi3.c subvsi3.c subvti3.c trampoline_setup.c

Daniel Dunbar daniel at zuster.org
Tue Nov 15 17:19:26 PST 2011


Author: ddunbar
Date: Tue Nov 15 19:19:26 2011
New Revision: 144752

URL: http://llvm.org/viewvc/llvm-project?rev=144752&view=rev
Log:
lib: Eliminate direct include of stdlib.h from files that used to (potentially)
need it for compilerrt_abort().

Modified:
    compiler-rt/trunk/lib/absvdi2.c
    compiler-rt/trunk/lib/absvsi2.c
    compiler-rt/trunk/lib/absvti2.c
    compiler-rt/trunk/lib/addvdi3.c
    compiler-rt/trunk/lib/addvsi3.c
    compiler-rt/trunk/lib/addvti3.c
    compiler-rt/trunk/lib/clear_cache.c
    compiler-rt/trunk/lib/eprintf.c
    compiler-rt/trunk/lib/gcc_personality_v0.c
    compiler-rt/trunk/lib/mulodi4.c
    compiler-rt/trunk/lib/mulosi4.c
    compiler-rt/trunk/lib/muloti4.c
    compiler-rt/trunk/lib/mulvdi3.c
    compiler-rt/trunk/lib/mulvsi3.c
    compiler-rt/trunk/lib/mulvti3.c
    compiler-rt/trunk/lib/negvdi2.c
    compiler-rt/trunk/lib/negvsi2.c
    compiler-rt/trunk/lib/negvti2.c
    compiler-rt/trunk/lib/subvdi3.c
    compiler-rt/trunk/lib/subvsi3.c
    compiler-rt/trunk/lib/subvti3.c
    compiler-rt/trunk/lib/trampoline_setup.c

Modified: compiler-rt/trunk/lib/absvdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/absvdi2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/absvdi2.c (original)
+++ compiler-rt/trunk/lib/absvdi2.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: absolute value */
 

Modified: compiler-rt/trunk/lib/absvsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/absvsi2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/absvsi2.c (original)
+++ compiler-rt/trunk/lib/absvsi2.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: absolute value */
 

Modified: compiler-rt/trunk/lib/absvti2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/absvti2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/absvti2.c (original)
+++ compiler-rt/trunk/lib/absvti2.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: absolute value */
 

Modified: compiler-rt/trunk/lib/addvdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addvdi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addvdi3.c (original)
+++ compiler-rt/trunk/lib/addvdi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a + b */
 

Modified: compiler-rt/trunk/lib/addvsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addvsi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addvsi3.c (original)
+++ compiler-rt/trunk/lib/addvsi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a + b */
 

Modified: compiler-rt/trunk/lib/addvti3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addvti3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addvti3.c (original)
+++ compiler-rt/trunk/lib/addvti3.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a + b */
 

Modified: compiler-rt/trunk/lib/clear_cache.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/clear_cache.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/clear_cache.c (original)
+++ compiler-rt/trunk/lib/clear_cache.c Tue Nov 15 19:19:26 2011
@@ -8,8 +8,6 @@
  * ===----------------------------------------------------------------------===
  */
 
-#include <stdlib.h>
-
 #if __APPLE__
   #include <libkern/OSCacheControl.h>
 #endif

Modified: compiler-rt/trunk/lib/eprintf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/eprintf.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/eprintf.c (original)
+++ compiler-rt/trunk/lib/eprintf.c Tue Nov 15 19:19:26 2011
@@ -12,7 +12,6 @@
 
 #include "int_lib.h"
 #include <stdio.h>
-#include <stdlib.h>
 
 
 /*

Modified: compiler-rt/trunk/lib/gcc_personality_v0.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gcc_personality_v0.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gcc_personality_v0.c (original)
+++ compiler-rt/trunk/lib/gcc_personality_v0.c Tue Nov 15 19:19:26 2011
@@ -10,7 +10,6 @@
  */
 
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "int_lib.h"
 

Modified: compiler-rt/trunk/lib/mulodi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulodi4.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulodi4.c (original)
+++ compiler-rt/trunk/lib/mulodi4.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/mulosi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulosi4.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulosi4.c (original)
+++ compiler-rt/trunk/lib/mulosi4.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/muloti4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/muloti4.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/muloti4.c (original)
+++ compiler-rt/trunk/lib/muloti4.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/mulvdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulvdi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulvdi3.c (original)
+++ compiler-rt/trunk/lib/mulvdi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/mulvsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulvsi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulvsi3.c (original)
+++ compiler-rt/trunk/lib/mulvsi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/mulvti3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulvti3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulvti3.c (original)
+++ compiler-rt/trunk/lib/mulvti3.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a * b */
 

Modified: compiler-rt/trunk/lib/negvdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negvdi2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negvdi2.c (original)
+++ compiler-rt/trunk/lib/negvdi2.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: -a */
 

Modified: compiler-rt/trunk/lib/negvsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negvsi2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negvsi2.c (original)
+++ compiler-rt/trunk/lib/negvsi2.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: -a */
 

Modified: compiler-rt/trunk/lib/negvti2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negvti2.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negvti2.c (original)
+++ compiler-rt/trunk/lib/negvti2.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: -a */
 

Modified: compiler-rt/trunk/lib/subvdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subvdi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subvdi3.c (original)
+++ compiler-rt/trunk/lib/subvdi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a - b */
 

Modified: compiler-rt/trunk/lib/subvsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subvsi3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subvsi3.c (original)
+++ compiler-rt/trunk/lib/subvsi3.c Tue Nov 15 19:19:26 2011
@@ -13,7 +13,6 @@
  */
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a - b */
 

Modified: compiler-rt/trunk/lib/subvti3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subvti3.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subvti3.c (original)
+++ compiler-rt/trunk/lib/subvti3.c Tue Nov 15 19:19:26 2011
@@ -15,7 +15,6 @@
 #if __x86_64
 
 #include "int_lib.h"
-#include <stdlib.h>
 
 /* Returns: a - b */
 

Modified: compiler-rt/trunk/lib/trampoline_setup.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/trampoline_setup.c?rev=144752&r1=144751&r2=144752&view=diff
==============================================================================
--- compiler-rt/trunk/lib/trampoline_setup.c (original)
+++ compiler-rt/trunk/lib/trampoline_setup.c Tue Nov 15 19:19:26 2011
@@ -8,8 +8,6 @@
  * ===----------------------------------------------------------------------===
  */
 
-#include <stdlib.h>
-
 #include "int_lib.h"
 
 extern void __clear_cache(void* start, void* end);





More information about the llvm-commits mailing list