Move lib/LibDriver -> lib/ToolDrivers/llvm-lib. NFCI.

This reorganisation prevents us from cluttering up the top-level lib directory
with more driver libraries such as llvm-dlltool (see D29892).

llvm-svn: 302995
This commit is contained in:
Peter Collingbourne 2017-05-13 22:06:46 +00:00
parent 78b0ce03e9
commit c6f07c423d
9 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,6 @@
#include "lld/Driver/Driver.h" #include "lld/Driver/Driver.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/StringSwitch.h"
#include "llvm/LibDriver/LibDriver.h"
#include "llvm/Object/ArchiveWriter.h" #include "llvm/Object/ArchiveWriter.h"
#include "llvm/Option/Arg.h" #include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h" #include "llvm/Option/ArgList.h"
@ -29,6 +28,7 @@
#include "llvm/Support/TarWriter.h" #include "llvm/Support/TarWriter.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
#include <algorithm> #include <algorithm>
#include <memory> #include <memory>

View 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 // The LLVM Compiler Infrastructure
// //
@ -12,8 +12,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef LLVM_LIBDRIVER_LIBDRIVER_H #ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
#define LLVM_LIBDRIVER_LIBDRIVER_H #define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
namespace llvm { namespace llvm {
template <typename T> class ArrayRef; template <typename T> class ArrayRef;

View File

@ -21,5 +21,5 @@ add_subdirectory(LineEditor)
add_subdirectory(ProfileData) add_subdirectory(ProfileData)
add_subdirectory(Fuzzer) add_subdirectory(Fuzzer)
add_subdirectory(Passes) add_subdirectory(Passes)
add_subdirectory(LibDriver) add_subdirectory(ToolDrivers)
add_subdirectory(XRay) add_subdirectory(XRay)

View File

@ -24,7 +24,6 @@ subdirectories =
DebugInfo DebugInfo
Demangle Demangle
ExecutionEngine ExecutionEngine
LibDriver
LineEditor LineEditor
Linker Linker
IR IR
@ -39,6 +38,7 @@ subdirectories =
Support Support
TableGen TableGen
Target Target
ToolDrivers
Transforms Transforms
[component_0] [component_0]

View File

@ -12,7 +12,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "llvm/LibDriver/LibDriver.h" #include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/Object/ArchiveWriter.h" #include "llvm/Object/ArchiveWriter.h"
#include "llvm/Option/Arg.h" #include "llvm/Option/Arg.h"

View File

@ -16,7 +16,7 @@
#include "llvm/ADT/Triple.h" #include "llvm/ADT/Triple.h"
#include "llvm/IR/LLVMContext.h" #include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.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/Archive.h"
#include "llvm/Object/ArchiveWriter.h" #include "llvm/Object/ArchiveWriter.h"
#include "llvm/Object/MachO.h" #include "llvm/Object/MachO.h"