mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[lld-macho][nfc] Clean up includes
- remove unused/duplicate includes - reformatting/whitespaces Differential Revision: https://reviews.llvm.org/D136266
This commit is contained in:
parent
24c6ea917c
commit
fc7a71890d
@ -16,6 +16,8 @@
|
||||
#include "Target.h"
|
||||
#include "UnwindInfoSection.h"
|
||||
#include "Writer.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/xxhash.h"
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "Symbols.h"
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "llvm/Support/Parallel.h"
|
||||
#include "llvm/Support/TimeProfiler.h"
|
||||
|
||||
|
@ -12,9 +12,12 @@
|
||||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "UnwindInfoSection.h"
|
||||
#include "mach-o/compact_unwind_encoding.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "llvm/Support/TimeProfiler.h"
|
||||
|
||||
#include "mach-o/compact_unwind_encoding.h"
|
||||
|
||||
namespace lld::macho {
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "OutputSegment.h"
|
||||
#include "Target.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
#include "llvm/Bitcode/BitcodeReader.h"
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/TimeProfiler.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <numeric>
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -12,8 +12,7 @@
|
||||
#include "Config.h"
|
||||
#include "InputFiles.h"
|
||||
#include "Target.h"
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "lld/Common/Strings.h"
|
||||
|
||||
#include "llvm/Object/Archive.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/SetVector.h"
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
#include "llvm/MC/StringTableBuilder.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "UnwindInfoSection.h"
|
||||
#include "ConcatOutputSection.h"
|
||||
#include "Config.h"
|
||||
#include "InputSection.h"
|
||||
#include "OutputSection.h"
|
||||
#include "OutputSegment.h"
|
||||
@ -24,6 +22,8 @@
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
#include "llvm/Support/Parallel.h"
|
||||
|
||||
#include "mach-o/compact_unwind_encoding.h"
|
||||
|
||||
#include <numeric>
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include "SyntheticSections.h"
|
||||
#include "llvm/ADT/MapVector.h"
|
||||
|
||||
#include "mach-o/compact_unwind_encoding.h"
|
||||
|
||||
namespace lld::macho {
|
||||
|
||||
class UnwindInfoSection : public SyntheticSection {
|
||||
|
@ -20,14 +20,12 @@
|
||||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "UnwindInfoSection.h"
|
||||
#include "llvm/Support/Parallel.h"
|
||||
|
||||
#include "lld/Common/Arrays.h"
|
||||
#include "lld/Common/CommonLinkerContext.h"
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
#include "llvm/Support/LEB128.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
#include "llvm/Support/Parallel.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/ThreadPool.h"
|
||||
|
Loading…
Reference in New Issue
Block a user