summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-10-19 00:48:11 +0000
committerReid Kleckner <rnk@google.com>2019-10-19 00:48:11 +0000
commit90c64a3456b972432a21ef043b205c18a91e011b (patch)
tree7a6b8ad8a0ee2135438f036f88ebb04d96192454 /lld/lib/ReaderWriter
parentf6a46304174e7a31f5f18d18a5a3a24eaddf35f0 (diff)
downloadbcm5719-llvm-90c64a3456b972432a21ef043b205c18a91e011b.tar.gz
bcm5719-llvm-90c64a3456b972432a21ef043b205c18a91e011b.zip
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. llvm-svn: 375316
Diffstat (limited to 'lld/lib/ReaderWriter')
-rw-r--r--lld/lib/ReaderWriter/MachO/DebugInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/ReaderWriter/MachO/DebugInfo.h b/lld/lib/ReaderWriter/MachO/DebugInfo.h
index 959e10f9a07..591dd1ebad8 100644
--- a/lld/lib/ReaderWriter/MachO/DebugInfo.h
+++ b/lld/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"
OpenPOWER on IntegriCloud