aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--lib/System/Alarm.cpp1
-rw-r--r--lib/System/DynamicLibrary.cpp2
-rw-r--r--lib/System/MappedFile.cpp1
-rw-r--r--lib/System/Path.cpp2
-rw-r--r--lib/System/Process.cpp1
-rw-r--r--lib/System/Program.cpp1
-rw-r--r--lib/System/Signals.cpp1
-rw-r--r--lib/System/TimeValue.cpp1
17 files changed, 39 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
diff --git a/lib/System/Alarm.cpp b/lib/System/Alarm.cpp
index d782b293e3..e0b7f7223a 100644
--- a/lib/System/Alarm.cpp
+++ b/lib/System/Alarm.cpp
@@ -32,3 +32,4 @@ using namespace sys;
#include "Win32/Alarm.inc"
#endif
+DEFINING_FILE_FOR(SystemAlarm)
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp
index 435513d4ff..859092a52a 100644
--- a/lib/System/DynamicLibrary.cpp
+++ b/lib/System/DynamicLibrary.cpp
@@ -173,3 +173,5 @@ void *DynamicLibrary::GetAddressOfSymbol(const char *symbolName) {
}
#endif // LLVM_ON_WIN32
+
+DEFINING_FILE_FOR(SystemDynamicLibrary)
diff --git a/lib/System/MappedFile.cpp b/lib/System/MappedFile.cpp
index a91a623d77..41b59461d3 100644
--- a/lib/System/MappedFile.cpp
+++ b/lib/System/MappedFile.cpp
@@ -32,3 +32,4 @@ using namespace sys;
#include "Win32/MappedFile.inc"
#endif
+DEFINING_FILE_FOR(SystemMappedFile)
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index efadfa9adf..1246038f84 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -107,3 +107,5 @@ std::string Path::GetDLLSuffix() {
#if defined(LLVM_ON_WIN32)
#include "Win32/Path.inc"
#endif
+
+DEFINING_FILE_FOR(SystemPath)
diff --git a/lib/System/Process.cpp b/lib/System/Process.cpp
index 644a81e1a9..d69f78ecd1 100644
--- a/lib/System/Process.cpp
+++ b/lib/System/Process.cpp
@@ -32,3 +32,4 @@ using namespace sys;
#include "Win32/Process.inc"
#endif
+DEFINING_FILE_FOR(SystemProcess)
diff --git a/lib/System/Program.cpp b/lib/System/Program.cpp
index 22c38e2657..e91a3d54c2 100644
--- a/lib/System/Program.cpp
+++ b/lib/System/Program.cpp
@@ -32,3 +32,4 @@ using namespace sys;
#include "Win32/Program.inc"
#endif
+DEFINING_FILE_FOR(SystemProgram)
diff --git a/lib/System/Signals.cpp b/lib/System/Signals.cpp
index 2d0de9b930..229dd1434b 100644
--- a/lib/System/Signals.cpp
+++ b/lib/System/Signals.cpp
@@ -33,3 +33,4 @@ using namespace sys;
#include "Win32/Signals.inc"
#endif
+DEFINING_FILE_FOR(SystemSignals)
diff --git a/lib/System/TimeValue.cpp b/lib/System/TimeValue.cpp
index 227d67701e..8ecfd22da7 100644
--- a/lib/System/TimeValue.cpp
+++ b/lib/System/TimeValue.cpp
@@ -56,3 +56,4 @@ TimeValue::normalize( void ) {
#include "Win32/TimeValue.inc"
#endif
+DEFINING_FILE_FOR(SystemTimeValue)