aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/WasmObjectWriter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-09-28 22:06:34 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2020-09-28 22:07:28 +0200
commitb59dff4b164c62fd802d06bb7be75fe31de94c71 (patch)
tree6eb03788cfcfc5cf8b6cb37c14f0d21d450af9e2 /llvm/lib/MC/WasmObjectWriter.cpp
parentc37a8acef64213c2d9cf6fc76f958eb6bd252b4f (diff)
downloadllvm-b59dff4b164c62fd802d06bb7be75fe31de94c71.zip
llvm-b59dff4b164c62fd802d06bb7be75fe31de94c71.tar.gz
llvm-b59dff4b164c62fd802d06bb7be75fe31de94c71.tar.bz2
[wasm] Move WasmTraits.h to BinaryFormat
There's no dependency on Object in there and this avoids a cyclic dependency between libMC and libObject.
Diffstat (limited to 'llvm/lib/MC/WasmObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/WasmObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/WasmObjectWriter.cpp b/llvm/lib/MC/WasmObjectWriter.cpp
index aad81b7..a0e65aa6 100644
--- a/llvm/lib/MC/WasmObjectWriter.cpp
+++ b/llvm/lib/MC/WasmObjectWriter.cpp
@@ -13,6 +13,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/BinaryFormat/Wasm.h"
+#include "llvm/BinaryFormat/WasmTraits.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmLayout.h"
@@ -25,7 +26,6 @@
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/MCWasmObjectWriter.h"
-#include "llvm/Object/WasmTraits.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/EndianStream.h"