summaryrefslogtreecommitdiffstats
path: root/lld/include/lld
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-10-02 21:00:41 +0000
committerRui Ueyama <ruiu@google.com>2017-10-02 21:00:41 +0000
commit3f851704c154b8ab045b5cd58d31ce854b9c6599 (patch)
treec0ec0a73ce767fcafa800c49494935ef986be7e7 /lld/include/lld
parente2ff2ba57d64a740095737866f0787e6f2c1e410 (diff)
downloadbcm5719-llvm-3f851704c154b8ab045b5cd58d31ce854b9c6599.tar.gz
bcm5719-llvm-3f851704c154b8ab045b5cd58d31ce854b9c6599.zip
Move new lld's code to Common subdirectory.
New lld's files are spread under lib subdirectory, and it isn't easy to find which files are actually maintained. This patch moves maintained files to Common subdirectory. Differential Revision: https://reviews.llvm.org/D37645 llvm-svn: 314719
Diffstat (limited to 'lld/include/lld')
-rw-r--r--lld/include/lld/Common/Driver.h (renamed from lld/include/lld/Driver/Driver.h)6
-rw-r--r--lld/include/lld/Common/LLVM.h (renamed from lld/include/lld/Core/LLVM.h)4
-rw-r--r--lld/include/lld/Common/Reproduce.h (renamed from lld/include/lld/Core/Reproduce.h)6
-rw-r--r--lld/include/lld/Common/TargetOptionsCommandFlags.h (renamed from lld/include/lld/Core/TargetOptionsCommandFlags.h)0
-rw-r--r--lld/include/lld/Common/Version.h (renamed from lld/include/lld/Config/Version.h)4
-rw-r--r--lld/include/lld/Common/Version.inc.in (renamed from lld/include/lld/Config/Version.inc.in)0
-rw-r--r--lld/include/lld/Core/Atom.h2
-rw-r--r--lld/include/lld/Core/DefinedAtom.h2
-rw-r--r--lld/include/lld/Core/Error.h2
-rw-r--r--lld/include/lld/Core/PassManager.h2
-rw-r--r--lld/include/lld/Core/Reader.h2
-rw-r--r--lld/include/lld/Core/SymbolTable.h2
-rw-r--r--lld/include/lld/Core/Writer.h2
-rw-r--r--lld/include/lld/ReaderWriter/YamlContext.h2
14 files changed, 18 insertions, 18 deletions
diff --git a/lld/include/lld/Driver/Driver.h b/lld/include/lld/Common/Driver.h
index 655fcfef2ef..b3fa4712816 100644
--- a/lld/include/lld/Driver/Driver.h
+++ b/lld/include/lld/Common/Driver.h
@@ -1,4 +1,4 @@
-//===- lld/Driver/Driver.h - Linker Driver Emulator -----------------------===//
+//===- lld/Common/Driver.h - Linker Driver Emulator -----------------------===//
//
// The LLVM Linker
//
@@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLD_DRIVER_DRIVER_H
-#define LLD_DRIVER_DRIVER_H
+#ifndef LLD_COMMON_DRIVER_H
+#define LLD_COMMON_DRIVER_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/raw_ostream.h"
diff --git a/lld/include/lld/Core/LLVM.h b/lld/include/lld/Common/LLVM.h
index ccf08859f4a..b5d0e2bffb0 100644
--- a/lld/include/lld/Core/LLVM.h
+++ b/lld/include/lld/Common/LLVM.h
@@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLD_CORE_LLVM_H
-#define LLD_CORE_LLVM_H
+#ifndef LLD_COMMON_LLVM_H
+#define LLD_COMMON_LLVM_H
// This should be the only #include, force #includes of all the others on
// clients.
diff --git a/lld/include/lld/Core/Reproduce.h b/lld/include/lld/Common/Reproduce.h
index 6e1d36a5491..9cc430e5185 100644
--- a/lld/include/lld/Core/Reproduce.h
+++ b/lld/include/lld/Common/Reproduce.h
@@ -7,10 +7,10 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLD_CORE_REPRODUCE_H
-#define LLD_CORE_REPRODUCE_H
+#ifndef LLD_COMMON_REPRODUCE_H
+#define LLD_COMMON_REPRODUCE_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
diff --git a/lld/include/lld/Core/TargetOptionsCommandFlags.h b/lld/include/lld/Common/TargetOptionsCommandFlags.h
index 9c4ff7cea3f..9c4ff7cea3f 100644
--- a/lld/include/lld/Core/TargetOptionsCommandFlags.h
+++ b/lld/include/lld/Common/TargetOptionsCommandFlags.h
diff --git a/lld/include/lld/Config/Version.h b/lld/include/lld/Common/Version.h
index 1cec3cc7678..93de77df580 100644
--- a/lld/include/lld/Config/Version.h
+++ b/lld/include/lld/Common/Version.h
@@ -1,4 +1,4 @@
-//===- lld/Config/Version.h - LLD Version Number ----------------*- C++ -*-===//
+//===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -14,7 +14,7 @@
#ifndef LLD_VERSION_H
#define LLD_VERSION_H
-#include "lld/Config/Version.inc"
+#include "lld/Common/Version.inc"
#include "llvm/ADT/StringRef.h"
namespace lld {
diff --git a/lld/include/lld/Config/Version.inc.in b/lld/include/lld/Common/Version.inc.in
index 2789a5c4608..2789a5c4608 100644
--- a/lld/include/lld/Config/Version.inc.in
+++ b/lld/include/lld/Common/Version.inc.in
diff --git a/lld/include/lld/Core/Atom.h b/lld/include/lld/Core/Atom.h
index 156a5d4a736..149c3d5ee2c 100644
--- a/lld/include/lld/Core/Atom.h
+++ b/lld/include/lld/Core/Atom.h
@@ -10,7 +10,7 @@
#ifndef LLD_CORE_ATOM_H
#define LLD_CORE_ATOM_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/ADT/StringRef.h"
namespace lld {
diff --git a/lld/include/lld/Core/DefinedAtom.h b/lld/include/lld/Core/DefinedAtom.h
index 7f623d2ea5e..6229d67e25a 100644
--- a/lld/include/lld/Core/DefinedAtom.h
+++ b/lld/include/lld/Core/DefinedAtom.h
@@ -10,9 +10,9 @@
#ifndef LLD_CORE_DEFINED_ATOM_H
#define LLD_CORE_DEFINED_ATOM_H
+#include "lld/Common/LLVM.h"
#include "lld/Core/Atom.h"
#include "lld/Core/Reference.h"
-#include "lld/Core/LLVM.h"
#include "llvm/Support/ErrorHandling.h"
namespace lld {
diff --git a/lld/include/lld/Core/Error.h b/lld/include/lld/Core/Error.h
index b0bf73b1cb7..36a36724987 100644
--- a/lld/include/lld/Core/Error.h
+++ b/lld/include/lld/Core/Error.h
@@ -14,7 +14,7 @@
#ifndef LLD_CORE_ERROR_H
#define LLD_CORE_ERROR_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Error.h"
#include <system_error>
diff --git a/lld/include/lld/Core/PassManager.h b/lld/include/lld/Core/PassManager.h
index 09b417a2985..2ea65ae13ac 100644
--- a/lld/include/lld/Core/PassManager.h
+++ b/lld/include/lld/Core/PassManager.h
@@ -10,7 +10,7 @@
#ifndef LLD_CORE_PASS_MANAGER_H
#define LLD_CORE_PASS_MANAGER_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "lld/Core/Pass.h"
#include "llvm/Support/Error.h"
#include <memory>
diff --git a/lld/include/lld/Core/Reader.h b/lld/include/lld/Core/Reader.h
index 32d04249f37..c7baf86af61 100644
--- a/lld/include/lld/Core/Reader.h
+++ b/lld/include/lld/Core/Reader.h
@@ -10,7 +10,7 @@
#ifndef LLD_CORE_READER_H
#define LLD_CORE_READER_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "lld/Core/Reference.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Magic.h"
diff --git a/lld/include/lld/Core/SymbolTable.h b/lld/include/lld/Core/SymbolTable.h
index ba4951e5bd1..9c39a6ed507 100644
--- a/lld/include/lld/Core/SymbolTable.h
+++ b/lld/include/lld/Core/SymbolTable.h
@@ -10,7 +10,7 @@
#ifndef LLD_CORE_SYMBOL_TABLE_H
#define LLD_CORE_SYMBOL_TABLE_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringExtras.h"
#include <cstring>
diff --git a/lld/include/lld/Core/Writer.h b/lld/include/lld/Core/Writer.h
index 216f934916b..1f0ca4cda41 100644
--- a/lld/include/lld/Core/Writer.h
+++ b/lld/include/lld/Core/Writer.h
@@ -10,7 +10,7 @@
#ifndef LLD_CORE_WRITER_H
#define LLD_CORE_WRITER_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/Support/Error.h"
#include <memory>
#include <vector>
diff --git a/lld/include/lld/ReaderWriter/YamlContext.h b/lld/include/lld/ReaderWriter/YamlContext.h
index b26161a1543..a44ec1d0d7d 100644
--- a/lld/include/lld/ReaderWriter/YamlContext.h
+++ b/lld/include/lld/ReaderWriter/YamlContext.h
@@ -10,7 +10,7 @@
#ifndef LLD_READER_WRITER_YAML_CONTEXT_H
#define LLD_READER_WRITER_YAML_CONTEXT_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include <functional>
#include <memory>
#include <vector>
OpenPOWER on IntegriCloud