aboutsummaryrefslogtreecommitdiff
path: root/wasm/InputSegment.h
diff options
context:
space:
mode:
Diffstat (limited to 'wasm/InputSegment.h')
-rw-r--r--wasm/InputSegment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wasm/InputSegment.h b/wasm/InputSegment.h
index 64124b1ebc2c..f70a3ded895e 100644
--- a/wasm/InputSegment.h
+++ b/wasm/InputSegment.h
@@ -21,6 +21,7 @@
#ifndef LLD_WASM_INPUT_SEGMENT_H
#define LLD_WASM_INPUT_SEGMENT_H
+#include "WriterUtils.h"
#include "lld/Common/ErrorHandler.h"
#include "llvm/Object/Wasm.h"
@@ -62,6 +63,7 @@ public:
const WasmSegment *Segment;
const ObjFile *File;
std::vector<WasmRelocation> Relocations;
+ std::vector<OutputRelocation> OutRelocations;
protected:
const OutputSegment *OutputSeg = nullptr;