]> granicus.if.org Git - llvm/commitdiff
Move lib/LibDriver -> lib/ToolDrivers/llvm-lib. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 13 May 2017 22:06:46 +0000 (22:06 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 13 May 2017 22:06:46 +0000 (22:06 +0000)
This reorganisation prevents us from cluttering up the top-level lib directory
with more driver libraries such as llvm-dlltool (see D29892).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302995 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ToolDrivers/llvm-lib/LibDriver.h [moved from include/llvm/LibDriver/LibDriver.h with 79% similarity]
lib/CMakeLists.txt
lib/LLVMBuild.txt
lib/ToolDrivers/llvm-lib/CMakeLists.txt [moved from lib/LibDriver/CMakeLists.txt with 100% similarity]
lib/ToolDrivers/llvm-lib/LLVMBuild.txt [moved from lib/LibDriver/LLVMBuild.txt with 100% similarity]
lib/ToolDrivers/llvm-lib/LibDriver.cpp [moved from lib/LibDriver/LibDriver.cpp with 99% similarity]
lib/ToolDrivers/llvm-lib/Options.td [moved from lib/LibDriver/Options.td with 100% similarity]
tools/llvm-ar/llvm-ar.cpp

similarity index 79%
rename from include/llvm/LibDriver/LibDriver.h
rename to include/llvm/ToolDrivers/llvm-lib/LibDriver.h
index 95feb60be40378bcc8f1a43653a144b1635bc2e2..a4806ac4ad69849be41492a8de70d92093d288f6 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/LibDriver/LibDriver.h - lib.exe-compatible driver ---*- C++ -*-===//
+//===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -12,8 +12,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_LIBDRIVER_LIBDRIVER_H
-#define LLVM_LIBDRIVER_LIBDRIVER_H
+#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
+#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
 
 namespace llvm {
 template <typename T> class ArrayRef;
index 76549540ce0f762e507e815537fc10f7a7e995d6..73fc2b35fe4eea72935909b8cccd2175fcb33e44 100644 (file)
@@ -21,5 +21,5 @@ add_subdirectory(LineEditor)
 add_subdirectory(ProfileData)
 add_subdirectory(Fuzzer)
 add_subdirectory(Passes)
-add_subdirectory(LibDriver)
+add_subdirectory(ToolDrivers)
 add_subdirectory(XRay)
index 684b378c93e5a3626acfbf02b94c9d8dc79b9205..89ddd0fc1af32745835e233c7ee6a980c09c1b12 100644 (file)
@@ -24,7 +24,6 @@ subdirectories =
  DebugInfo
  Demangle
  ExecutionEngine
- LibDriver
  LineEditor
  Linker
  IR
@@ -39,6 +38,7 @@ subdirectories =
  Support
  TableGen
  Target
+ ToolDrivers
  Transforms
 
 [component_0]
similarity index 99%
rename from lib/LibDriver/LibDriver.cpp
rename to lib/ToolDrivers/llvm-lib/LibDriver.cpp
index c50629d715017b3f25e6469032e8ffed29355dbd..3bae3826d62e1bd29bc978da19a5a84c593dd809 100644 (file)
@@ -12,7 +12,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/LibDriver/LibDriver.h"
+#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Object/ArchiveWriter.h"
 #include "llvm/Option/Arg.h"
index 1519464521dd0702280784738e5173fe7feab455..3de260410bd94ab6594ca54f5ec407c77de48b20 100644 (file)
@@ -16,7 +16,7 @@
 #include "llvm/ADT/Triple.h"
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Module.h"
-#include "llvm/LibDriver/LibDriver.h"
+#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
 #include "llvm/Object/Archive.h"
 #include "llvm/Object/ArchiveWriter.h"
 #include "llvm/Object/MachO.h"