mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Remove some includes from InputFiles.h.
They were not used in InputFiles.h and it was getting too easy to add circular includes. llvm-svn: 320256
This commit is contained in:
@@ -35,12 +35,13 @@
|
||||
#include "AArch64ErrataFix.h"
|
||||
#include "Config.h"
|
||||
#include "LinkerScript.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
#include "OutputSections.h"
|
||||
#include "Relocations.h"
|
||||
#include "Strings.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "ScriptParser.h"
|
||||
#include "Strings.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "Writer.h"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "GdbIndex.h"
|
||||
#include "Symbols.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugPubTable.h"
|
||||
#include "llvm/Object/ELFObjectFile.h"
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
#include "ICF.h"
|
||||
#include "Config.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "lld/Common/Threads.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/BinaryFormat/ELF.h"
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#define LLD_ELF_INPUT_FILES_H
|
||||
|
||||
#include "Config.h"
|
||||
#include "InputSection.h"
|
||||
#include "Symbols.h"
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
|
||||
#include "lld/Common/LLVM.h"
|
||||
@@ -40,6 +38,7 @@ class InputFile;
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
class InputFile;
|
||||
class InputSectionBase;
|
||||
}
|
||||
|
||||
// Returns "<internal>", "foo.a(bar.o)" or "baz.o".
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "LinkerScript.h"
|
||||
#include "OutputSections.h"
|
||||
#include "Relocations.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "Thunks.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "OutputSections.h"
|
||||
#include "Strings.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "lld/Common/Threads.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#include "OutputSections.h"
|
||||
#include "Strings.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "Thunks.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
class Defined;
|
||||
class SectionBase;
|
||||
|
||||
// SymbolTable is a bucket of all known symbols, including defined,
|
||||
// undefined, or lazy symbols (the last one is symbols in archive
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "OutputSections.h"
|
||||
#include "Strings.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "Target.h"
|
||||
#include "Writer.h"
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
class SharedSymbol;
|
||||
|
||||
class SyntheticSection : public InputSection {
|
||||
public:
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "Relocations.h"
|
||||
#include "Strings.h"
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
|
||||
Reference in New Issue
Block a user