forked from OSchip/llvm-project
Remove unused includes and forward declarations.
llvm-svn: 234070
This commit is contained in:
parent
4d200e3859
commit
21d22ca11a
|
@ -13,6 +13,7 @@
|
|||
#include "TargetHandler.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include <memory>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "lld/Core/Parallel.h"
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/ReaderWriter/AtomLayout.h"
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
|
|
|
@ -6,38 +6,16 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
///
|
||||
/// \file
|
||||
/// \brief These interfaces provide target specific hooks to change the linker's
|
||||
/// behaivor.
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_TARGET_HANDLER_H
|
||||
|
||||
#include "lld/Core/Atom.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/STDExtras.h"
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "lld/Core/Error.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/FileOutputBuffer.h"
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
template <class ELFT> class DynamicTable;
|
||||
template <class ELFT> class DynamicSymbolTable;
|
||||
template <class ELFT> class ELFDefinedAtom;
|
||||
template <class ELFT> class ELFReference;
|
||||
class ELFWriter;
|
||||
template <class ELFT> class ELFHeader;
|
||||
template <class ELFT> class Section;
|
||||
template <class ELFT> class TargetLayout;
|
||||
|
||||
inline std::error_code make_unhandled_reloc_error() {
|
||||
return make_dynamic_error_code(Twine("Unhandled reference type"));
|
||||
|
|
Loading…
Reference in New Issue