mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 08:02:08 +00:00
Sort include files according to convention.
llvm-svn: 220131
This commit is contained in:
parent
7862619076
commit
2b67fca033
@ -18,7 +18,6 @@
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace lld {
|
||||
|
@ -11,7 +11,6 @@
|
||||
#define LLD_CORE_ARCHIVE_LIBRARY_FILE_H
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace lld {
|
||||
|
@ -12,13 +12,11 @@
|
||||
|
||||
#include "lld/Core/AbsoluteAtom.h"
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/Core/SharedLibraryAtom.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/SharedLibraryAtom.h"
|
||||
#include "lld/Core/UndefinedAtom.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -17,13 +17,12 @@
|
||||
#define LLD_CORE_INPUT_GRAPH_H
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "llvm/Option/ArgList.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Option/ArgList.h"
|
||||
#include "llvm/Support/ErrorOr.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <stack>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#define LLD_CORE_INSTRUMENTATION_H
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#ifdef LLD_HAS_VTUNE
|
||||
|
@ -19,7 +19,6 @@
|
||||
// clients.
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace llvm {
|
||||
|
@ -13,14 +13,11 @@
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/InputGraph.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
|
||||
#include "llvm/Support/ErrorOr.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "lld/Core/Instrumentation.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/range.h"
|
||||
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -12,9 +12,8 @@
|
||||
|
||||
#include "lld/Core/Atom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#define LLD_CORE_REFERENCES_H
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
|
||||
namespace lld {
|
||||
|
@ -13,10 +13,8 @@
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/SharedLibraryFile.h"
|
||||
#include "lld/Core/SymbolTable.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
|
@ -11,10 +11,8 @@
|
||||
#define LLD_CORE_SYMBOL_TABLE_H
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -18,9 +18,8 @@
|
||||
#define LLD_CORE_RANGE_H
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <iterator>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "lld/ReaderWriter/CoreLinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "llvm/Support/Errc.h"
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
|
@ -19,10 +19,8 @@
|
||||
|
||||
#include "lld/Core/InputGraph.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include "lld/Core/InputGraph.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
namespace lld {
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -13,9 +13,7 @@
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
namespace lld {
|
||||
|
@ -11,19 +11,16 @@
|
||||
#define LLD_READER_WRITER_ELF_LINKER_CONTEXT_H
|
||||
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/STDExtras.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Object/ELF.h"
|
||||
#include "llvm/Support/ELF.h"
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
|
@ -13,12 +13,10 @@
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
using llvm::MachO::HeaderFileType;
|
||||
|
@ -13,13 +13,11 @@
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/FileUtilities.h"
|
||||
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <set>
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -11,7 +11,6 @@
|
||||
#define LLD_READER_WRITER_WRITER_H
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#define LLD_READER_WRITER_YAML_CONTEXT_H
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -8,7 +8,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
|
||||
|
||||
|
@ -8,11 +8,9 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/Core/Error.h"
|
||||
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Mutex.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -8,9 +8,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/Core/InputGraph.h"
|
||||
|
||||
#include "lld/Core/Resolver.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace lld;
|
||||
|
@ -10,19 +10,17 @@
|
||||
#include "lld/Core/Atom.h"
|
||||
#include "lld/Core/ArchiveLibraryFile.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/SharedLibraryFile.h"
|
||||
#include "lld/Core/Instrumentation.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Resolver.h"
|
||||
#include "lld/Core/SymbolTable.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/Resolver.h"
|
||||
#include "lld/Core/SharedLibraryFile.h"
|
||||
#include "lld/Core/SymbolTable.h"
|
||||
#include "lld/Core/UndefinedAtom.h"
|
||||
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
@ -13,17 +13,15 @@
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/Resolver.h"
|
||||
#include "lld/Core/SharedLibraryAtom.h"
|
||||
#include "lld/Core/LinkingContext.h"
|
||||
#include "lld/Core/UndefinedAtom.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "lld/Driver/CoreInputGraph.h"
|
||||
#include "lld/ReaderWriter/CoreLinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
@ -23,8 +22,8 @@
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/Signals.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
using namespace lld;
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/Driver/DarwinInputGraph.h"
|
||||
|
||||
#include "lld/Core/ArchiveLibraryFile.h"
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
|
@ -29,9 +29,8 @@
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/Signals.h"
|
||||
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace lld;
|
||||
|
@ -8,17 +8,15 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Instrumentation.h"
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Parallel.h"
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/Resolver.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
#include "lld/Passes/RoundTripNativePass.h"
|
||||
#include "lld/Passes/RoundTripYAMLPass.h"
|
||||
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/Option/Arg.h"
|
||||
@ -27,7 +25,6 @@
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/Process.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
namespace lld {
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
#include "lld/Driver/GnuLdInputGraph.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
@ -30,9 +29,8 @@
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/Signals.h"
|
||||
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <cstring>
|
||||
#include <tuple>
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "lld/Driver/GnuLdInputGraph.h"
|
||||
#include "lld/ReaderWriter/LinkerScript.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
|
@ -16,9 +16,7 @@
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
#include "lld/Config/Version.h"
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "lld/Driver/WinLinkInputGraph.h"
|
||||
#include "lld/Driver/WinLinkModuleDef.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
@ -32,7 +31,6 @@
|
||||
#include "llvm/Support/Process.h"
|
||||
#include "llvm/Support/Program.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <map>
|
||||
|
@ -7,14 +7,12 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
|
||||
#include "lld/Passes/LayoutPass.h"
|
||||
#include "lld/Core/Instrumentation.h"
|
||||
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
|
||||
using namespace lld;
|
||||
|
||||
|
@ -11,10 +11,8 @@
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/Passes/RoundTripNativePass.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace lld;
|
||||
|
@ -11,10 +11,8 @@
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/Passes/RoundTripYAMLPass.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace lld;
|
||||
|
@ -8,13 +8,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/ReaderWriter/CoreLinkingContext.h"
|
||||
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/Passes/LayoutPass.h"
|
||||
#include "lld/Passes/RoundTripYAMLPass.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
||||
using namespace lld;
|
||||
|
@ -10,7 +10,6 @@
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_ELF_WRITERS_H
|
||||
|
||||
#include "MipsLinkingContext.h"
|
||||
|
||||
#include "OutputELFWriter.h"
|
||||
|
||||
namespace lld {
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "lld/Core/ArchiveLibraryFile.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Object/Archive.h"
|
||||
@ -17,7 +16,6 @@
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
|
@ -11,11 +11,9 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
using namespace llvm::MachO;
|
||||
|
@ -7,15 +7,13 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "MachONormalizedFile.h"
|
||||
#include "Atoms.h"
|
||||
#include "File.h"
|
||||
|
||||
#include "MachONormalizedFile.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#ifndef LLD_READER_WRITER_MACHO_ARCH_HANDLER_H
|
||||
|
@ -10,11 +10,9 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
using namespace llvm::MachO;
|
||||
|
@ -10,11 +10,9 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
|
||||
|
@ -10,11 +10,9 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
using namespace llvm::MachO;
|
||||
|
@ -10,11 +10,9 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
using namespace llvm::MachO;
|
||||
|
@ -15,15 +15,13 @@
|
||||
|
||||
#include "ArchHandler.h"
|
||||
#include "File.h"
|
||||
#include "MachOPasses.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "MachOPasses.h"
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
|
@ -12,12 +12,9 @@
|
||||
|
||||
#include "Atoms.h"
|
||||
#include "MachONormalizedFile.h"
|
||||
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/Core/SharedLibraryFile.h"
|
||||
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
namespace lld {
|
||||
|
@ -35,13 +35,11 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "File.h"
|
||||
#include "MachOPasses.h"
|
||||
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
|
||||
|
@ -8,19 +8,16 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
|
||||
#include "ArchHandler.h"
|
||||
#include "File.h"
|
||||
#include "MachONormalizedFile.h"
|
||||
#include "MachOPasses.h"
|
||||
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Driver/DarwinInputGraph.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
#include "lld/Passes/LayoutPass.h"
|
||||
#include "lld/Passes/RoundTripYAMLPass.h"
|
||||
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Config/config.h"
|
||||
@ -28,7 +25,6 @@
|
||||
#include "llvm/Support/Host.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#if HAVE_CXXABI_H
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
@ -22,10 +22,8 @@
|
||||
/// +------------+
|
||||
|
||||
#include "MachONormalizedFile.h"
|
||||
|
||||
#include "ArchHandler.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/SharedLibraryFile.h"
|
||||
|
@ -29,8 +29,8 @@
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/Errc.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Errc.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/FileOutputBuffer.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
|
@ -21,10 +21,8 @@
|
||||
/// +-------+
|
||||
|
||||
#include "MachONormalizedFile.h"
|
||||
|
||||
#include "ArchHandler.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
@ -21,17 +21,14 @@
|
||||
/// +-------+
|
||||
|
||||
#include "MachONormalizedFile.h"
|
||||
|
||||
#include "ArchHandler.h"
|
||||
#include "Atoms.h"
|
||||
#include "File.h"
|
||||
#include "MachONormalizedFileBinaryUtils.h"
|
||||
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
using namespace llvm::MachO;
|
||||
using namespace lld::mach_o::normalized;
|
||||
|
@ -26,14 +26,12 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "File.h"
|
||||
#include "MachOPasses.h"
|
||||
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
|
||||
|
@ -17,14 +17,12 @@
|
||||
#include "ArchHandler.h"
|
||||
#include "File.h"
|
||||
#include "MachOPasses.h"
|
||||
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Core/Reference.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
|
||||
|
||||
|
@ -10,9 +10,8 @@
|
||||
#ifndef LLD_READER_WRITER_NATIVE_NATIVE_FILE_FORMAT_H
|
||||
#define LLD_READER_WRITER_NATIVE_NATIVE_FILE_FORMAT_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include <cstdint>
|
||||
|
||||
namespace lld {
|
||||
|
||||
|
@ -8,13 +8,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "NativeFileFormat.h"
|
||||
|
||||
#include "lld/Core/Atom.h"
|
||||
#include "lld/Core/Error.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
@ -22,7 +20,6 @@
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Object/COFF.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
@ -9,13 +9,11 @@
|
||||
|
||||
#include "Pass.h"
|
||||
#include "EdataPass.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <climits>
|
||||
#include <ctime>
|
||||
#include <utility>
|
||||
|
@ -20,13 +20,11 @@
|
||||
#define LLD_READER_WRITER_PE_COFF_EDATA_PASS_H
|
||||
|
||||
#include "Atoms.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
using llvm::COFF::ImportDirectoryTableEntry;
|
||||
|
@ -31,7 +31,6 @@
|
||||
|
||||
#include "Atoms.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace lld {
|
||||
|
@ -9,14 +9,12 @@
|
||||
|
||||
#include "IdataPass.h"
|
||||
#include "Pass.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
@ -20,13 +20,11 @@
|
||||
#define LLD_READER_WRITER_PE_COFF_IDATA_PASS_H
|
||||
|
||||
#include "Atoms.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
|
||||
|
@ -8,12 +8,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Atoms.h"
|
||||
|
||||
#include "lld/Core/ArchiveLibraryFile.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
using llvm::COFF::WindowsSubsystem;
|
||||
|
@ -19,14 +19,12 @@
|
||||
|
||||
#include "Pass.h"
|
||||
#include "LoadConfigPass.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "llvm/Object/COFF.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <climits>
|
||||
#include <ctime>
|
||||
#include <utility>
|
||||
|
@ -19,12 +19,10 @@
|
||||
#define LLD_READER_WRITER_PE_COFF_LOAD_CONFIG_PASS_H
|
||||
|
||||
#include "Atoms.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/Core/Pass.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
namespace lld {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "IdataPass.h"
|
||||
#include "LinkerGeneratedSymbolFile.h"
|
||||
#include "LoadConfigPass.h"
|
||||
|
||||
#include "lld/Core/PassManager.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
#include "lld/Passes/LayoutPass.h"
|
||||
@ -25,7 +24,6 @@
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <bitset>
|
||||
#include <climits>
|
||||
#include <set>
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "Atoms.h"
|
||||
#include "Pass.h"
|
||||
|
||||
#include "lld/Core/File.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
|
||||
|
@ -21,13 +21,11 @@
|
||||
|
||||
#include "Atoms.h"
|
||||
#include "WriterImportLibrary.h"
|
||||
|
||||
#include "lld/Core/DefinedAtom.h"
|
||||
#include "lld/Core/File.h"
|
||||
#include "lld/ReaderWriter/AtomLayout.h"
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "lld/ReaderWriter/Writer.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Object/COFF.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
@ -37,7 +35,6 @@
|
||||
#include "llvm/Support/ErrorOr.h"
|
||||
#include "llvm/Support/FileOutputBuffer.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <map>
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "lld/Core/LLVM.h"
|
||||
#include "lld/Driver/Driver.h"
|
||||
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
#include "llvm/Support/Signals.h"
|
||||
|
@ -13,9 +13,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lld/Core/Parallel.h"
|
||||
|
||||
#include <array>
|
||||
#include <random>
|
||||
|
||||
|
@ -13,11 +13,9 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lld/Core/range.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <array>
|
||||
#include <assert.h>
|
||||
#include <deque>
|
||||
#include <forward_list>
|
||||
#include <iterator>
|
||||
|
@ -13,10 +13,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "DriverTest.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace lld;
|
||||
|
@ -7,13 +7,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "DriverTest.h"
|
||||
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -13,7 +13,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lld/Core/InputGraph.h"
|
||||
#include "lld/Core/Resolver.h"
|
||||
#include "lld/Core/Simple.h"
|
||||
|
@ -13,9 +13,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
|
@ -13,11 +13,9 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "DriverTest.h"
|
||||
|
||||
#include "lld/ReaderWriter/PECOFFLinkingContext.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
|
@ -7,11 +7,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "lld/Driver/WinLinkModuleDef.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include <memory>
|
||||
|
||||
using namespace llvm;
|
||||
using namespace lld;
|
||||
|
@ -8,10 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include <assert.h>
|
||||
#include <vector>
|
||||
|
||||
|
@ -8,10 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include <assert.h>
|
||||
#include <vector>
|
||||
|
||||
|
@ -8,11 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
#include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h"
|
||||
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include <assert.h>
|
||||
#include <vector>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user