diff options
author | Reid Kleckner <rnk@google.com> | 2019-10-19 00:48:11 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-10-19 00:48:11 +0000 |
commit | 45f33cf9da0cace7fc89c631b542de82b0f36f6c (patch) | |
tree | caa9134aa2bab2d2ab269231792e514dc4a0b7b8 /lib/ReaderWriter/MachO/DebugInfo.h | |
parent | 85c8ee18394b0813d1d5a3992e3eb2df8657af23 (diff) |
Move endian constant from Host.h to SwapByteOrder.h, prune include
Works on this dependency chain:
ArrayRef.h ->
Hashing.h -> --CUT--
Host.h ->
StringMap.h / StringRef.h
ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@375316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ReaderWriter/MachO/DebugInfo.h')
-rw-r--r-- | lib/ReaderWriter/MachO/DebugInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ReaderWriter/MachO/DebugInfo.h b/lib/ReaderWriter/MachO/DebugInfo.h index 959e10f9a..591dd1eba 100644 --- a/lib/ReaderWriter/MachO/DebugInfo.h +++ b/lib/ReaderWriter/MachO/DebugInfo.h @@ -12,6 +12,7 @@ #include "lld/Core/Atom.h" #include <vector> +#include "llvm/Support/Allocator.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" |