Changes in directory llvm/include/llvm/System:
IncludeFile.h updated: 1.3 -> 1.4 Memory.h updated: 1.7 -> 1.8 Mutex.h updated: 1.5 -> 1.6 --- 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: (+10 -3) IncludeFile.h | 6 +++--- Memory.h | 3 +++ Mutex.h | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) Index: llvm/include/llvm/System/IncludeFile.h diff -u llvm/include/llvm/System/IncludeFile.h:1.3 llvm/include/llvm/System/IncludeFile.h:1.4 --- llvm/include/llvm/System/IncludeFile.h:1.3 Wed Jun 7 17:00:26 2006 +++ llvm/include/llvm/System/IncludeFile.h Wed Jul 26 11:18:00 2006 @@ -1,4 +1,4 @@ -//===- llvm/Support/IncludeFile.h - Ensure Linking Of Library ---*- C++ -*-===// +//===- llvm/System/IncludeFile.h - Ensure Linking Of Library ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_INCLUDEFILE_H -#define LLVM_SUPPORT_INCLUDEFILE_H +#ifndef LLVM_SYSTEM_INCLUDEFILE_H +#define LLVM_SYSTEM_INCLUDEFILE_H /// This macro is the public interface that IncludeFile.h exports. This gives /// us the option to implement the "link the definition" capability in any Index: llvm/include/llvm/System/Memory.h diff -u llvm/include/llvm/System/Memory.h:1.7 llvm/include/llvm/System/Memory.h:1.8 --- llvm/include/llvm/System/Memory.h:1.7 Fri Jul 7 12:31:17 2006 +++ llvm/include/llvm/System/Memory.h Wed Jul 26 11:18:00 2006 @@ -15,6 +15,7 @@ #define LLVM_SYSTEM_MEMORY_H #include <string> +#include "llvm/System/IncludeFile.h" namespace llvm { namespace sys { @@ -70,4 +71,6 @@ } } +FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMemory) + #endif Index: llvm/include/llvm/System/Mutex.h diff -u llvm/include/llvm/System/Mutex.h:1.5 llvm/include/llvm/System/Mutex.h:1.6 --- llvm/include/llvm/System/Mutex.h:1.5 Wed Aug 24 05:07:21 2005 +++ llvm/include/llvm/System/Mutex.h Wed Jul 26 11:18:00 2006 @@ -14,6 +14,8 @@ #ifndef LLVM_SYSTEM_MUTEX_H #define LLVM_SYSTEM_MUTEX_H +#include "llvm/System/IncludeFile.h" + namespace llvm { namespace sys @@ -81,4 +83,6 @@ } } +FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMutex) + #endif _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits