[llvm-commits] CVS: llvm/lib/Support/Dwarf.cpp IsInf.cpp IsNAN.cpp SlowOperationInformer.cpp IncludeFile.cpp
Reid Spencer
reid at x10sys.com
Wed Jul 26 09:18:24 PDT 2006
Changes in directory llvm/lib/Support:
Dwarf.cpp updated: 1.3 -> 1.4
IsInf.cpp updated: 1.8 -> 1.9
IsNAN.cpp updated: 1.5 -> 1.6
SlowOperationInformer.cpp updated: 1.8 -> 1.9
IncludeFile.cpp (r1.1) 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: (+13 -0)
Dwarf.cpp | 3 +++
IsInf.cpp | 3 +++
IsNAN.cpp | 4 ++++
SlowOperationInformer.cpp | 3 +++
4 files changed, 13 insertions(+)
Index: llvm/lib/Support/Dwarf.cpp
diff -u llvm/lib/Support/Dwarf.cpp:1.3 llvm/lib/Support/Dwarf.cpp:1.4
--- llvm/lib/Support/Dwarf.cpp:1.3 Thu Jun 15 15:51:43 2006
+++ llvm/lib/Support/Dwarf.cpp Wed Jul 26 11:18:00 2006
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/Dwarf.h"
+#include "llvm/System/IncludeFile.h"
#include <cassert>
@@ -580,3 +581,5 @@
} // End of namespace dwarf.
} // End of namespace llvm.
+
+DEFINING_FILE_FOR(SupportDwarf)
Index: llvm/lib/Support/IsInf.cpp
diff -u llvm/lib/Support/IsInf.cpp:1.8 llvm/lib/Support/IsInf.cpp:1.9
--- llvm/lib/Support/IsInf.cpp:1.8 Wed May 24 12:04:04 2006
+++ llvm/lib/Support/IsInf.cpp Wed Jul 26 11:18:00 2006
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
+#include "llvm/System/IncludeFile.h"
#if HAVE_ISINF_IN_MATH_H
# include <math.h>
@@ -43,3 +44,5 @@
int IsInf (double d) { return isinf (d); }
} // end namespace llvm;
+
+DEFINING_FILE_FOR(SupportIsInf)
Index: llvm/lib/Support/IsNAN.cpp
diff -u llvm/lib/Support/IsNAN.cpp:1.5 llvm/lib/Support/IsNAN.cpp:1.6
--- llvm/lib/Support/IsNAN.cpp:1.5 Wed May 24 12:04:04 2006
+++ llvm/lib/Support/IsNAN.cpp Wed Jul 26 11:18:00 2006
@@ -12,6 +12,8 @@
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
+#include "llvm/System/IncludeFile.h"
+
#if HAVE_ISNAN_IN_MATH_H
# include <math.h>
#elif HAVE_ISNAN_IN_CMATH
@@ -32,3 +34,5 @@
int IsNAN (double d) { return isnan (d); }
} // end namespace llvm;
+
+DEFINING_FILE_FOR(SupportIsNAN)
Index: llvm/lib/Support/SlowOperationInformer.cpp
diff -u llvm/lib/Support/SlowOperationInformer.cpp:1.8 llvm/lib/Support/SlowOperationInformer.cpp:1.9
--- llvm/lib/Support/SlowOperationInformer.cpp:1.8 Thu Jul 6 17:34:06 2006
+++ llvm/lib/Support/SlowOperationInformer.cpp Wed Jul 26 11:18:00 2006
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/SlowOperationInformer.h"
+#include "llvm/System/IncludeFile.h"
#include "llvm/System/Alarm.h"
#include <iostream>
#include <sstream>
@@ -64,3 +65,5 @@
std::cout << ToPrint+OS.str() << std::flush;
return false;
}
+
+DEFINING_FILE_FOR(SupportSlowOperationInformer)
More information about the llvm-commits
mailing list