aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-07-26 16:55:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-07-26 16:55:39 +0000
commit23dd3327a03b9b64b428ea07dae580326159e47b (patch)
treea7b60f4cc8b0fca4034c8da56f5ed9f3f3cfbc0b /include
parent7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8 (diff)
downloadexternal_llvm-23dd3327a03b9b64b428ea07dae580326159e47b.tar.gz
external_llvm-23dd3327a03b9b64b428ea07dae580326159e47b.tar.bz2
external_llvm-23dd3327a03b9b64b428ea07dae580326159e47b.zip
For PR780:
Put the rest of lib/System into LinkAllVMCore.h. This makes all of lib/System available to programs that #include LinkALlVMCore.h so that loadable modules linked into those programs can depend on all of lib/System being available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/LinkAllVMCore.h8
-rw-r--r--include/llvm/System/Alarm.h4
-rw-r--r--include/llvm/System/DynamicLibrary.h3
-rw-r--r--include/llvm/System/MappedFile.h2
-rw-r--r--include/llvm/System/Path.h2
-rw-r--r--include/llvm/System/Process.h2
-rw-r--r--include/llvm/System/Program.h2
-rw-r--r--include/llvm/System/Signals.h3
-rw-r--r--include/llvm/System/TimeValue.h3
9 files changed, 29 insertions, 0 deletions
diff --git a/include/llvm/LinkAllVMCore.h b/include/llvm/LinkAllVMCore.h
index fa46dbb1f1..ae1e1cd025 100644
--- a/include/llvm/LinkAllVMCore.h
+++ b/include/llvm/LinkAllVMCore.h
@@ -23,8 +23,16 @@
#include "llvm/IntrinsicInst.h"
#include "llvm/InlineAsm.h"
#include "llvm/Analysis/Verifier.h"
+#include "llvm/System/Alarm.h"
+#include "llvm/System/DynamicLibrary.h"
+#include "llvm/System/MappedFile.h"
#include "llvm/System/Memory.h"
#include "llvm/System/Mutex.h"
+#include "llvm/System/Path.h"
+#include "llvm/System/Process.h"
+#include "llvm/System/Program.h"
+#include "llvm/System/Signals.h"
+#include "llvm/System/TimeValue.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
diff --git a/include/llvm/System/Alarm.h b/include/llvm/System/Alarm.h
index ec44a6df1e..2b78da6dba 100644
--- a/include/llvm/System/Alarm.h
+++ b/include/llvm/System/Alarm.h
@@ -17,6 +17,8 @@
#ifndef LLVM_SYSTEM_ALARM_H
#define LLVM_SYSTEM_ALARM_H
+#include "llvm/System/IncludeFile.h"
+
namespace llvm {
namespace sys {
@@ -42,4 +44,6 @@ namespace sys {
} // End sys namespace
} // End llvm namespace
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemAlarm)
+
#endif
diff --git a/include/llvm/System/DynamicLibrary.h b/include/llvm/System/DynamicLibrary.h
index e053daf440..fc1bfbe1fb 100644
--- a/include/llvm/System/DynamicLibrary.h
+++ b/include/llvm/System/DynamicLibrary.h
@@ -15,6 +15,7 @@
#define LLVM_SYSTEM_DYNAMIC_LIBRARY_H
#include "llvm/System/Path.h"
+#include "llvm/System/IncludeFile.h"
#include <string>
namespace llvm {
@@ -125,4 +126,6 @@ namespace sys {
} // End sys namespace
} // End llvm namespace
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemDynamicLibrary)
+
#endif // LLVM_SYSTEM_DYNAMIC_LIBRARY_H
diff --git a/include/llvm/System/MappedFile.h b/include/llvm/System/MappedFile.h
index 9fd0d08357..3160427a6c 100644
--- a/include/llvm/System/MappedFile.h
+++ b/include/llvm/System/MappedFile.h
@@ -15,6 +15,7 @@
#define LLVM_SYSTEM_MAPPEDFILE_H
#include "llvm/System/Path.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
namespace sys {
@@ -152,5 +153,6 @@ namespace sys {
}
}
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMappedFile)
#endif
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 14250b5de8..b4eaca7abf 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -15,6 +15,7 @@
#define LLVM_SYSTEM_PATH_H
#include "llvm/System/TimeValue.h"
+#include "llvm/System/IncludeFile.h"
#include <set>
#include <string>
#include <vector>
@@ -571,4 +572,5 @@ std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);
}
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemPath)
#endif
diff --git a/include/llvm/System/Process.h b/include/llvm/System/Process.h
index 600d8d5cc3..f843af36fc 100644
--- a/include/llvm/System/Process.h
+++ b/include/llvm/System/Process.h
@@ -15,6 +15,7 @@
#define LLVM_SYSTEM_PROCESS_H
#include "llvm/System/TimeValue.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
namespace sys {
@@ -99,5 +100,6 @@ namespace sys {
}
}
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProcess)
#endif
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index 0a237bccbc..92534de405 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@ -15,6 +15,7 @@
#define LLVM_SYSTEM_PROGRAM_H
#include "llvm/System/Path.h"
+#include "llvm/System/IncludeFile.h"
#include <vector>
namespace llvm {
@@ -82,5 +83,6 @@ namespace sys {
}
}
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProgram)
#endif
diff --git a/include/llvm/System/Signals.h b/include/llvm/System/Signals.h
index 1d5286f3bd..21feb5b316 100644
--- a/include/llvm/System/Signals.h
+++ b/include/llvm/System/Signals.h
@@ -16,6 +16,7 @@
#define LLVM_SYSTEM_SIGNALS_H
#include "llvm/System/Path.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
namespace sys {
@@ -49,4 +50,6 @@ namespace sys {
} // End sys namespace
} // End llvm namespace
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemSignals)
+
#endif
diff --git a/include/llvm/System/TimeValue.h b/include/llvm/System/TimeValue.h
index 624eb70176..07cb18c134 100644
--- a/include/llvm/System/TimeValue.h
+++ b/include/llvm/System/TimeValue.h
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/DataTypes.h"
+#include "llvm/System/IncludeFile.h"
#include <string>
#ifndef LLVM_SYSTEM_TIMEVALUE_H
@@ -380,4 +381,6 @@ inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) {
}
}
+FORCE_DEFINING_FILE_TO_BE_LINKED(SystemTimeValue)
+
#endif