From 53ca1f3190680f3e86aebe0f72f7918d63f71e0d Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Mon, 29 Nov 2010 19:44:50 +0000 Subject: [PATCH] Now to chant the magical incantation that will exorcise the System library from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120314 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 2 +- include/llvm/Support/AIXDataTypesFix.h | 2 +- include/llvm/Support/Alarm.h | 2 +- include/llvm/Support/Atomic.h | 2 +- include/llvm/Support/DynamicLibrary.h | 2 +- include/llvm/Support/Errno.h | 2 +- include/llvm/Support/FEnv.h | 2 +- include/llvm/Support/Host.h | 2 +- include/llvm/Support/IncludeFile.h | 2 +- include/llvm/Support/Memory.h | 2 +- include/llvm/Support/Mutex.h | 2 +- include/llvm/Support/Path.h | 2 +- include/llvm/Support/PathV2.h | 2 +- include/llvm/Support/Process.h | 2 +- include/llvm/Support/Program.h | 2 +- include/llvm/Support/Signals.h | 2 +- include/llvm/Support/Solaris.h | 2 +- include/llvm/Support/ThreadLocal.h | 2 +- include/llvm/Support/Threading.h | 2 +- include/llvm/Support/Valgrind.h | 2 +- lib/CompilerDriver/CMakeLists.txt | 2 +- lib/CompilerDriver/Makefile | 2 +- lib/Support/IncludeFile.cpp | 2 +- lib/Support/Threading.cpp | 2 +- lib/Support/Unix/Host.inc | 2 +- lib/Support/Unix/Mutex.inc | 2 +- lib/Support/Unix/Path.inc | 2 +- lib/Support/Unix/Program.inc | 2 +- lib/Support/Unix/RWMutex.inc | 2 +- lib/Support/Unix/ThreadLocal.inc | 2 +- lib/Support/Unix/Unix.h | 2 +- lib/Support/Unix/system_error.inc | 2 +- lib/Support/Windows/Host.inc | 2 +- lib/Support/Windows/Mutex.inc | 2 +- lib/Support/Windows/Path.inc | 2 +- lib/Support/Windows/RWMutex.inc | 2 +- lib/Support/Windows/ThreadLocal.inc | 2 +- lib/Support/Windows/system_error.inc | 2 +- tools/gold/Makefile | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index b7b6a859d72..86730e71399 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -205,7 +205,7 @@ ifdef LLVMC_BASED_DRIVER TOOLNAME = $(LLVMC_BASED_DRIVER) LLVMLIBS = CompilerDriver.a -LINK_COMPONENTS = support system +LINK_COMPONENTS = support endif # LLVMC_BASED_DRIVER diff --git a/include/llvm/Support/AIXDataTypesFix.h b/include/llvm/Support/AIXDataTypesFix.h index 8dbf02f2826..a9a9147de29 100644 --- a/include/llvm/Support/AIXDataTypesFix.h +++ b/include/llvm/Support/AIXDataTypesFix.h @@ -1,4 +1,4 @@ -//===-- llvm/System/AIXDataTypesFix.h - Fix datatype defs ------*- C++ -*-===// +//===-- llvm/Support/AIXDataTypesFix.h - Fix datatype defs ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Alarm.h b/include/llvm/Support/Alarm.h index 7c284167c2c..51eaf2c8455 100644 --- a/include/llvm/Support/Alarm.h +++ b/include/llvm/Support/Alarm.h @@ -1,4 +1,4 @@ -//===- llvm/System/Alarm.h - Alarm Generation support ----------*- C++ -*-===// +//===- llvm/Support/Alarm.h - Alarm Generation support ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Atomic.h b/include/llvm/Support/Atomic.h index 914bda9db34..1a6c606aa5f 100644 --- a/include/llvm/Support/Atomic.h +++ b/include/llvm/Support/Atomic.h @@ -1,4 +1,4 @@ -//===- llvm/System/Atomic.h - Atomic Operations -----------------*- C++ -*-===// +//===- llvm/Support/Atomic.h - Atomic Operations -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/DynamicLibrary.h b/include/llvm/Support/DynamicLibrary.h index 745b8f8b5b4..e6d9ff57ae8 100644 --- a/include/llvm/Support/DynamicLibrary.h +++ b/include/llvm/Support/DynamicLibrary.h @@ -1,4 +1,4 @@ -//===-- llvm/System/DynamicLibrary.h - Portable Dynamic Library -*- C++ -*-===// +//===-- llvm/Support/DynamicLibrary.h - Portable Dynamic Library -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Errno.h b/include/llvm/Support/Errno.h index 6e292ba6265..150bdb70162 100644 --- a/include/llvm/Support/Errno.h +++ b/include/llvm/Support/Errno.h @@ -1,4 +1,4 @@ -//===- llvm/System/Errno.h - Portable+convenient errno handling -*- C++ -*-===// +//===- llvm/Support/Errno.h - Portable+convenient errno handling -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/FEnv.h b/include/llvm/Support/FEnv.h index 042e43928bc..f6f43337bd2 100644 --- a/include/llvm/Support/FEnv.h +++ b/include/llvm/Support/FEnv.h @@ -1,4 +1,4 @@ -//===- llvm/System/FEnv.h - Host floating-point exceptions ------*- C++ -*-===// +//===- llvm/Support/FEnv.h - Host floating-point exceptions ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h index 4fbf5c177c6..f77d4c1182b 100644 --- a/include/llvm/Support/Host.h +++ b/include/llvm/Support/Host.h @@ -1,4 +1,4 @@ -//===- llvm/System/Host.h - Host machine characteristics --------*- C++ -*-===// +//===- llvm/Support/Host.h - Host machine characteristics --------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/IncludeFile.h b/include/llvm/Support/IncludeFile.h index 42abb2d7a14..a9319725d47 100644 --- a/include/llvm/Support/IncludeFile.h +++ b/include/llvm/Support/IncludeFile.h @@ -1,4 +1,4 @@ -//===- llvm/System/IncludeFile.h - Ensure Linking Of Library ---*- C++ -*-===// +//===- llvm/Support/IncludeFile.h - Ensure Linking Of Library ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Memory.h b/include/llvm/Support/Memory.h index 9b0df31ab01..9c3f85b958b 100644 --- a/include/llvm/Support/Memory.h +++ b/include/llvm/Support/Memory.h @@ -1,4 +1,4 @@ -//===- llvm/System/Memory.h - Memory Support --------------------*- C++ -*-===// +//===- llvm/Support/Memory.h - Memory Support --------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Mutex.h b/include/llvm/Support/Mutex.h index edd258d2fcb..42ea63060f6 100644 --- a/include/llvm/Support/Mutex.h +++ b/include/llvm/Support/Mutex.h @@ -1,4 +1,4 @@ -//===- llvm/System/Mutex.h - Mutex Operating System Concept -----*- C++ -*-===// +//===- llvm/Support/Mutex.h - Mutex Operating System Concept -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Path.h b/include/llvm/Support/Path.h index 7d5c297c95c..93a116f45c9 100644 --- a/include/llvm/Support/Path.h +++ b/include/llvm/Support/Path.h @@ -1,4 +1,4 @@ -//===- llvm/System/Path.h - Path Operating System Concept -------*- C++ -*-===// +//===- llvm/Support/Path.h - Path Operating System Concept -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/PathV2.h b/include/llvm/Support/PathV2.h index b85da0a40a6..e8c93a34b2b 100644 --- a/include/llvm/Support/PathV2.h +++ b/include/llvm/Support/PathV2.h @@ -1,4 +1,4 @@ -//===- llvm/System/PathV2.h - Path Operating System Concept -----*- C++ -*-===// +//===- llvm/Support/PathV2.h - Path Operating System Concept -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Process.h b/include/llvm/Support/Process.h index cb861d75c00..33799229ff3 100644 --- a/include/llvm/Support/Process.h +++ b/include/llvm/Support/Process.h @@ -1,4 +1,4 @@ -//===- llvm/System/Process.h ------------------------------------*- C++ -*-===// +//===- llvm/Support/Process.h ------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h index 872f7e5f06f..78a495ef210 100644 --- a/include/llvm/Support/Program.h +++ b/include/llvm/Support/Program.h @@ -1,4 +1,4 @@ -//===- llvm/System/Program.h ------------------------------------*- C++ -*-===// +//===- llvm/Support/Program.h ------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h index da98d0ca8f7..9a84df68ddb 100644 --- a/include/llvm/Support/Signals.h +++ b/include/llvm/Support/Signals.h @@ -1,4 +1,4 @@ -//===- llvm/System/Signals.h - Signal Handling support ----------*- C++ -*-===// +//===- llvm/Support/Signals.h - Signal Handling support ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Solaris.h b/include/llvm/Support/Solaris.h index 15adb7472c1..57eee2cb497 100644 --- a/include/llvm/Support/Solaris.h +++ b/include/llvm/Support/Solaris.h @@ -1,4 +1,4 @@ -/*===- llvm/System/Solaris.h ------------------------------------*- C++ -*-===* +/*===- llvm/Support/Solaris.h ------------------------------------*- C++ -*-===* * * The LLVM Compiler Infrastructure * diff --git a/include/llvm/Support/ThreadLocal.h b/include/llvm/Support/ThreadLocal.h index 155a4db818b..15350a7afff 100644 --- a/include/llvm/Support/ThreadLocal.h +++ b/include/llvm/Support/ThreadLocal.h @@ -1,4 +1,4 @@ -//===- llvm/System/ThreadLocal.h - Thread Local Data ------------*- C++ -*-===// +//===- llvm/Support/ThreadLocal.h - Thread Local Data ------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h index 371a8625aeb..c0e842c2fe7 100644 --- a/include/llvm/Support/Threading.h +++ b/include/llvm/Support/Threading.h @@ -1,4 +1,4 @@ -//===-- llvm/System/Threading.h - Control multithreading mode --*- C++ -*-===// +//===-- llvm/Support/Threading.h - Control multithreading mode --*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/llvm/Support/Valgrind.h b/include/llvm/Support/Valgrind.h index 5ec79c3c557..7662eaaff5a 100644 --- a/include/llvm/Support/Valgrind.h +++ b/include/llvm/Support/Valgrind.h @@ -1,4 +1,4 @@ -//===- llvm/System/Valgrind.h - Communication with Valgrind -----*- C++ -*-===// +//===- llvm/Support/Valgrind.h - Communication with Valgrind -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/CompilerDriver/CMakeLists.txt b/lib/CompilerDriver/CMakeLists.txt index 153dd443cbf..2248de01b95 100644 --- a/lib/CompilerDriver/CMakeLists.txt +++ b/lib/CompilerDriver/CMakeLists.txt @@ -1,4 +1,4 @@ -set(LLVM_LINK_COMPONENTS support system) +set(LLVM_LINK_COMPONENTS support) set(LLVM_REQUIRES_EH 1) add_llvm_tool(llvmc diff --git a/lib/CompilerDriver/Makefile b/lib/CompilerDriver/Makefile index 8e8b73ca8f8..10cfa4f0292 100644 --- a/lib/CompilerDriver/Makefile +++ b/lib/CompilerDriver/Makefile @@ -13,7 +13,7 @@ LEVEL = ../.. # name doesn't start with "LLVM" and NO_LLVM_CONFIG is set. LIBRARYNAME = CompilerDriver -LINK_COMPONENTS = support system +LINK_COMPONENTS = support NO_LLVM_CONFIG = 1 diff --git a/lib/Support/IncludeFile.cpp b/lib/Support/IncludeFile.cpp index e41d1f0a811..5da88261ce5 100644 --- a/lib/Support/IncludeFile.cpp +++ b/lib/Support/IncludeFile.cpp @@ -16,5 +16,5 @@ using namespace llvm; // This constructor is used to ensure linking of other modules. See the -// llvm/System/IncludeFile.h header for details. +// llvm/Support/IncludeFile.h header for details. IncludeFile::IncludeFile(const void*) {} diff --git a/lib/Support/Threading.cpp b/lib/Support/Threading.cpp index c2f85549f4d..29579567ac6 100644 --- a/lib/Support/Threading.cpp +++ b/lib/Support/Threading.cpp @@ -1,4 +1,4 @@ -//===-- llvm/System/Threading.cpp- Control multithreading mode --*- C++ -*-==// +//===-- llvm/Support/Threading.cpp- Control multithreading mode --*- C++ -*-==// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc index ca0de9ca9a8..5561906bd17 100644 --- a/lib/Support/Unix/Host.inc +++ b/lib/Support/Unix/Host.inc @@ -1,4 +1,4 @@ - //===- llvm/System/Unix/Host.inc -------------------------------*- C++ -*-===// + //===- llvm/Support/Unix/Host.inc -------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/Mutex.inc b/lib/Support/Unix/Mutex.inc index 5c50697fd0c..fe6b1704145 100644 --- a/lib/Support/Unix/Mutex.inc +++ b/lib/Support/Unix/Mutex.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Unix/Mutex.inc - Unix Mutex Implementation ---*- C++ -*-===// +//===- llvm/Support/Unix/Mutex.inc - Unix Mutex Implementation ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index 5ee3adc4d2d..dccf9010ab5 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Unix/Path.cpp - Unix Path Implementation -----*- C++ -*-===// +//===- llvm/Support/Unix/Path.cpp - Unix Path Implementation -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/Program.inc b/lib/Support/Unix/Program.inc index e06f80ba833..17c3ba14bc2 100644 --- a/lib/Support/Unix/Program.inc +++ b/lib/Support/Unix/Program.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Unix/Program.cpp -----------------------------*- C++ -*-===// +//===- llvm/Support/Unix/Program.cpp -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/RWMutex.inc b/lib/Support/Unix/RWMutex.inc index ee9853e5af7..40e87ff1311 100644 --- a/lib/Support/Unix/RWMutex.inc +++ b/lib/Support/Unix/RWMutex.inc @@ -1,4 +1,4 @@ -//= llvm/System/Unix/RWMutex.inc - Unix Reader/Writer Mutual Exclusion Lock =// +//= llvm/Support/Unix/RWMutex.inc - Unix Reader/Writer Mutual Exclusion Lock =// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/ThreadLocal.inc b/lib/Support/Unix/ThreadLocal.inc index f009b72f105..2b4c9017cd9 100644 --- a/lib/Support/Unix/ThreadLocal.inc +++ b/lib/Support/Unix/ThreadLocal.inc @@ -1,4 +1,4 @@ -//=== llvm/System/Unix/ThreadLocal.inc - Unix Thread Local Data -*- C++ -*-===// +//=== llvm/Support/Unix/ThreadLocal.inc - Unix Thread Local Data -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/Unix.h b/lib/Support/Unix/Unix.h index 9b758116f3a..b7be3111d43 100644 --- a/lib/Support/Unix/Unix.h +++ b/lib/Support/Unix/Unix.h @@ -1,4 +1,4 @@ -//===- llvm/System/Unix/Unix.h - Common Unix Include File -------*- C++ -*-===// +//===- llvm/Support/Unix/Unix.h - Common Unix Include File -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Unix/system_error.inc b/lib/Support/Unix/system_error.inc index a382214877f..681e919edb4 100644 --- a/lib/Support/Unix/system_error.inc +++ b/lib/Support/Unix/system_error.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Unix/system_error.inc - Unix error_code ------*- C++ -*-===// +//===- llvm/Support/Unix/system_error.inc - Unix error_code ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/Host.inc b/lib/Support/Windows/Host.inc index 5377c77f037..733830e82f0 100644 --- a/lib/Support/Windows/Host.inc +++ b/lib/Support/Windows/Host.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Win32/Host.inc -------------------------------*- C++ -*-===// +//===- llvm/Support/Win32/Host.inc -------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/Mutex.inc b/lib/Support/Windows/Mutex.inc index ff7d6429988..583dc6359a1 100644 --- a/lib/Support/Windows/Mutex.inc +++ b/lib/Support/Windows/Mutex.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Win32/Mutex.inc - Win32 Mutex Implementation -*- C++ -*-===// +//===- llvm/Support/Win32/Mutex.inc - Win32 Mutex Implementation -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index e517eece737..cc68b9f3abc 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Win32/Path.cpp - Win32 Path Implementation ---*- C++ -*-===// +//===- llvm/Support/Win32/Path.cpp - Win32 Path Implementation ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/RWMutex.inc b/lib/Support/Windows/RWMutex.inc index 82ae8af1e52..471f8fa294b 100644 --- a/lib/Support/Windows/RWMutex.inc +++ b/lib/Support/Windows/RWMutex.inc @@ -1,4 +1,4 @@ -//= llvm/System/Win32/Mutex.inc - Win32 Reader/Writer Mutual Exclusion Lock =// +//= llvm/Support/Win32/Mutex.inc - Win32 Reader/Writer Mutual Exclusion Lock =// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/ThreadLocal.inc b/lib/Support/Windows/ThreadLocal.inc index 53070ead547..512462d8900 100644 --- a/lib/Support/Windows/ThreadLocal.inc +++ b/lib/Support/Windows/ThreadLocal.inc @@ -1,4 +1,4 @@ -//= llvm/System/Win32/ThreadLocal.inc - Win32 Thread Local Data -*- C++ -*-===// +//= llvm/Support/Win32/ThreadLocal.inc - Win32 Thread Local Data -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Support/Windows/system_error.inc b/lib/Support/Windows/system_error.inc index db025828996..8dc4799e7cf 100644 --- a/lib/Support/Windows/system_error.inc +++ b/lib/Support/Windows/system_error.inc @@ -1,4 +1,4 @@ -//===- llvm/System/Win32/system_error.inc - Windows error_code --*- C++ -*-===// +//===- llvm/Support/Win32/system_error.inc - Windows error_code --*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/tools/gold/Makefile b/tools/gold/Makefile index 82a4e39cdae..66a0271fa25 100644 --- a/tools/gold/Makefile +++ b/tools/gold/Makefile @@ -21,7 +21,7 @@ LINK_LIBS_IN_SHARED=1 SHARED_LIBRARY = 1 LOADABLE_MODULE = 1 -LINK_COMPONENTS := support system +LINK_COMPONENTS := support LIBS += -llto # Because off_t is used in the public API, the largefile parts are required for -- 2.34.1