summaryrefslogtreecommitdiffstats
path: root/lld/wasm/InputFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/InputFiles.cpp')
-rw-r--r--lld/wasm/InputFiles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/wasm/InputFiles.cpp b/lld/wasm/InputFiles.cpp
index e7436863461..40a18ff6cf1 100644
--- a/lld/wasm/InputFiles.cpp
+++ b/lld/wasm/InputFiles.cpp
@@ -153,6 +153,8 @@ void ObjFile::parse() {
CodeSection = &Section;
else if (Section.Type == WASM_SEC_DATA)
DataSection = &Section;
+ else if (Section.Type == WASM_SEC_CUSTOM)
+ CustomSections.emplace_back(make<InputSection>(Section, this));
}
TypeMap.resize(getWasmObj()->types().size());
OpenPOWER on IntegriCloud