forked from OSchip/llvm-project
Revert "[ELF][AllArchs] Fix includes"
This reverts commit e137dd93e1291a2d2fa7f41c8f8bcdb59c8b3225. llvm-svn: 219313
This commit is contained in:
parent
fdf5f7a9dd
commit
14fc1c0240
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_LINKING_CONTEXT_H
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_AARCH64_LINKING_CONTEXT_H
|
||||
|
||||
#include "AArch64TargetHandler.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_RELOCATION_PASS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_TARGET_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_AARCH64_AARCH64_TARGET_HANDLER_H
|
||||
|
||||
#include "DefaultTargetHandler.h"
|
||||
#include "ELFFile.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_EXECUTABLE_ATOM_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_EXECUTABLE_ATOM_H
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_EXECUTABLE_ATOM_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_EXECUTABLE_ATOM_H
|
||||
|
||||
#include "ELFFile.h"
|
||||
|
||||
|
@ -26,4 +26,4 @@ public:
|
|||
} // elf
|
||||
} // lld
|
||||
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_EXECUTABLE_ATOM_H
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_EXECUTABLE_ATOM_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_LINKING_CONTEXT_H
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_LINKING_CONTEXT_H
|
||||
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
|
||||
|
@ -71,4 +71,4 @@ public:
|
|||
} // elf
|
||||
} // lld
|
||||
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_LINKING_CONTEXT_H
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_LINKING_CONTEXT_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
|
@ -46,4 +46,4 @@ findBitMask(uint32_t insn, Instruction *encodings, int32_t numInsns) {
|
|||
} // elf
|
||||
} // lld
|
||||
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_RELOCATION_FUNCTIONS_H
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_RELOCATION_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_RELOCATION_HANDLER_H
|
||||
|
||||
#include "HexagonSectionChunks.h"
|
||||
#include "HexagonTargetHandler.h"
|
||||
|
|
|
@ -83,4 +83,4 @@ void SDataSection<HexagonELFType>::doPreFlight() {
|
|||
} // elf
|
||||
} // lld
|
||||
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_SECTION_CHUNKS_H
|
||||
#endif // LLD_READER_WRITER_ELF_HEXAGON_HEXAGON_SECTION_CHUNKS_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_CTORS_ORDER_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_CTORS_ORDER_PASS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_CTORS_ORDER_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_CTORS_ORDER_PASS_H
|
||||
|
||||
#include "lld/Core/Pass.h"
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_DYNAMIC_LIBRARY_WRITER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_DYNAMIC_LIBRARY_WRITER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_DYNAMIC_LIBRARY_WRITER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_DYNAMIC_LIBRARY_WRITER_H
|
||||
|
||||
#include "DynamicLibraryWriter.h"
|
||||
#include "MipsDynamicTable.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_DYNAMIC_TABLE_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_DYNAMIC_TABLE_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_DYNAMIC_TABLE_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_DYNAMIC_TABLE_H
|
||||
|
||||
#include "DefaultLayout.h"
|
||||
#include "SectionChunks.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_ELF_FILE_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_ELF_FILE_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_FILE_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_FILE_H
|
||||
|
||||
#include "ELFReader.h"
|
||||
#include "MipsLinkingContext.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_ELF_READER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_ELF_READER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_READER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_READER_H
|
||||
|
||||
#include "ELFReader.h"
|
||||
#include "MipsELFFile.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_ELF_WRITERS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_ELF_WRITERS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_WRITERS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_WRITERS_H
|
||||
|
||||
#include "MipsLinkingContext.h"
|
||||
#include "OutputELFWriter.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_EXECUTABLE_WRITER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_EXECUTABLE_WRITER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_EXECUTABLE_WRITER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_EXECUTABLE_WRITER_H
|
||||
|
||||
#include "ExecutableWriter.h"
|
||||
#include "MipsDynamicTable.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_LINKING_CONTEXT_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_LINKING_CONTEXT_H
|
||||
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_RELOCATION_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_RELOCATION_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H
|
||||
|
||||
#include "MipsLinkingContext.h"
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_RELOCATION_PASS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_PASS_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_SECTION_CHUNKS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_SECTION_CHUNKS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_SECTION_CHUNKS_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_SECTION_CHUNKS_H
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_TARGET_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_TARGET_HANDLER_H
|
||||
|
||||
#include "DefaultTargetHandler.h"
|
||||
#include "MipsELFReader.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_PPC_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_PPC_LINKING_CONTEXT_H
|
||||
#ifndef LLD_READER_WRITER_ELF_PPC_PPC_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_PPC_PPC_LINKING_CONTEXT_H
|
||||
|
||||
#include "PPCTargetHandler.h"
|
||||
|
||||
|
@ -35,4 +35,4 @@ public:
|
|||
} // elf
|
||||
} // lld
|
||||
|
||||
#endif // LLD_READER_WRITER_ELF_PPC_LINKING_CONTEXT_H
|
||||
#endif // LLD_READER_WRITER_ELF_PPC_PPC_LINKING_CONTEXT_H
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_PPC_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_PPC_TARGET_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_PPC_PPC_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_PPC_PPC_TARGET_HANDLER_H
|
||||
|
||||
#include "DefaultTargetHandler.h"
|
||||
#include "TargetLayout.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_LINKING_CONTEXT_H
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_X86_64_LINKING_CONTEXT_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_X86_64_LINKING_CONTEXT_H
|
||||
|
||||
#include "X86_64TargetHandler.h"
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_RELOCATION_PASS_H
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_X86_64_RELOCATION_PASS_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_X86_64_RELOCATION_PASS_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_TARGET_HANDLER_H
|
||||
#ifndef LLD_READER_WRITER_ELF_X86_64_X86_64_TARGET_HANDLER_H
|
||||
#define LLD_READER_WRITER_ELF_X86_64_X86_64_TARGET_HANDLER_H
|
||||
|
||||
#include "DefaultTargetHandler.h"
|
||||
#include "ELFFile.h"
|
||||
|
|
Loading…
Reference in New Issue