aboutsummaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/IncludeFile.cpp6
-rw-r--r--lib/System/Memory.cpp2
-rw-r--r--lib/System/Mutex.cpp3
3 files changed, 8 insertions, 3 deletions
diff --git a/lib/System/IncludeFile.cpp b/lib/System/IncludeFile.cpp
index d4729176f4..2ba9595ea1 100644
--- a/lib/System/IncludeFile.cpp
+++ b/lib/System/IncludeFile.cpp
@@ -1,4 +1,4 @@
-//===- lib/Support/IncludeFile.cpp - Ensure Linking Of Implementation -----===//
+//===- lib/System/IncludeFile.cpp - Ensure Linking Of Implementation -----===//
//
// The LLVM Compiler Infrastructure
//
@@ -11,10 +11,10 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Support/IncludeFile.h"
+#include "llvm/System/IncludeFile.h"
using namespace llvm;
// This constructor is used to ensure linking of other modules. See the
-// llvm/Support/IncludeFile.h header for details.
+// llvm/System/IncludeFile.h header for details.
IncludeFile::IncludeFile(void*) {}
diff --git a/lib/System/Memory.cpp b/lib/System/Memory.cpp
index e951e3c26a..3788abef08 100644
--- a/lib/System/Memory.cpp
+++ b/lib/System/Memory.cpp
@@ -14,6 +14,7 @@
#include "llvm/System/Memory.h"
#include "llvm/Config/config.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
using namespace sys;
@@ -33,3 +34,4 @@ using namespace sys;
#include "Win32/Memory.inc"
#endif
+DEFINING_FILE_FOR(SystemMemory)
diff --git a/lib/System/Mutex.cpp b/lib/System/Mutex.cpp
index abcf77e675..44e3332d17 100644
--- a/lib/System/Mutex.cpp
+++ b/lib/System/Mutex.cpp
@@ -13,6 +13,7 @@
#include "llvm/Config/config.h"
#include "llvm/System/Mutex.h"
+#include "llvm/System/IncludeFile.h"
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only TRULY operating system
@@ -157,3 +158,5 @@ Mutex::tryacquire()
#warning Neither LLVM_ON_UNIX nor LLVM_ON_WIN32 was set in System/Mutex.cpp
#endif
#endif
+
+DEFINING_FILE_FOR(SystemMutex)