[llvm-commits] CVS: llvm/include/llvm/Support/Dwarf.h Mangler.h MathExtras.h SlowOperationInformer.h IncludeFile.h

Reid Spencer reid at x10sys.com
Wed Jul 26 09:18:23 PDT 2006



Changes in directory llvm/include/llvm/Support:

Dwarf.h updated: 1.8 -> 1.9
Mangler.h updated: 1.20 -> 1.21
MathExtras.h updated: 1.33 -> 1.34
SlowOperationInformer.h updated: 1.8 -> 1.9
IncludeFile.h (r1.3) removed
---
Log message:

For PR780: http://llvm.org/PR780 :
1. Move IncludeFile.h to System library
2. Move IncludeFile.cpp to System library
3. #1 and #2 required to prevent cyclic library dependencies for libSystem
4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h
5. Add IncludeFile support to various lib/System classes.
6. Add new lib/System classes to LinkAllVMCore.h
All this in an attempt to pull in lib/System to what's required for VMCore


---
Diffs of the changes:  (+12 -1)

 Dwarf.h                 |    4 ++++
 Mangler.h               |    2 +-
 MathExtras.h            |    4 ++++
 SlowOperationInformer.h |    3 +++
 4 files changed, 12 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Support/Dwarf.h
diff -u llvm/include/llvm/Support/Dwarf.h:1.8 llvm/include/llvm/Support/Dwarf.h:1.9
--- llvm/include/llvm/Support/Dwarf.h:1.8	Fri Jun 16 08:14:03 2006
+++ llvm/include/llvm/Support/Dwarf.h	Wed Jul 26 11:18:00 2006
@@ -16,6 +16,8 @@
 #ifndef LLVM_SUPPORT_DWARF_H
 #define LLVM_SUPPORT_DWARF_H
 
+#include "llvm/System/IncludeFile.h"
+
 namespace llvm {
 
 namespace dwarf {
@@ -546,4 +548,6 @@
 
 } // End of namespace llvm
 
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportDwarf)
+
 #endif


Index: llvm/include/llvm/Support/Mangler.h
diff -u llvm/include/llvm/Support/Mangler.h:1.20 llvm/include/llvm/Support/Mangler.h:1.21
--- llvm/include/llvm/Support/Mangler.h:1.20	Wed Jun  7 18:03:13 2006
+++ llvm/include/llvm/Support/Mangler.h	Wed Jul 26 11:18:00 2006
@@ -14,7 +14,7 @@
 #ifndef LLVM_SUPPORT_MANGLER_H
 #define LLVM_SUPPORT_MANGLER_H
 
-#include "llvm/Support/IncludeFile.h"
+#include "llvm/System/IncludeFile.h"
 #include <map>
 #include <set>
 #include <string>


Index: llvm/include/llvm/Support/MathExtras.h
diff -u llvm/include/llvm/Support/MathExtras.h:1.33 llvm/include/llvm/Support/MathExtras.h:1.34
--- llvm/include/llvm/Support/MathExtras.h:1.33	Mon Jul 17 19:47:10 2006
+++ llvm/include/llvm/Support/MathExtras.h	Wed Jul 26 11:18:00 2006
@@ -15,6 +15,7 @@
 #define LLVM_SUPPORT_MATHEXTRAS_H
 
 #include "llvm/Support/DataTypes.h"
+#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 
@@ -306,4 +307,7 @@
 
 } // End llvm namespace
 
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportIsInf)
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportIsNAN)
+
 #endif


Index: llvm/include/llvm/Support/SlowOperationInformer.h
diff -u llvm/include/llvm/Support/SlowOperationInformer.h:1.8 llvm/include/llvm/Support/SlowOperationInformer.h:1.9
--- llvm/include/llvm/Support/SlowOperationInformer.h:1.8	Thu Jul  6 17:34:06 2006
+++ llvm/include/llvm/Support/SlowOperationInformer.h	Wed Jul 26 11:18:00 2006
@@ -32,6 +32,7 @@
 #include <string>
 #include <cassert>
 #include "llvm/Support/DataTypes.h"
+#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
   class SlowOperationInformer {
@@ -63,3 +64,5 @@
 } // end namespace llvm
 
 #endif /* SLOW_OPERATION_INFORMER_H */
+
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportSlowOperationInformer)






More information about the llvm-commits mailing list