From 03801256d86eb0d22dc7d489ed4ec0eec9ace6b6 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 12 Dec 2018 23:40:58 +0000 Subject: [WebAssembly] Update dylink section parsing This updates the format of the dylink section in accordance with recent "spec" change: https://github.com/WebAssembly/tool-conventions/pull/77 Differential Revision: https://reviews.llvm.org/D55609 llvm-svn: 348989 --- llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/ObjectYAML') diff --git a/llvm/lib/ObjectYAML/WasmYAML.cpp b/llvm/lib/ObjectYAML/WasmYAML.cpp index 2bc971a46b3..b97803340c0 100644 --- a/llvm/lib/ObjectYAML/WasmYAML.cpp +++ b/llvm/lib/ObjectYAML/WasmYAML.cpp @@ -55,6 +55,7 @@ static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { IO.mapRequired("MemoryAlignment", Section.MemoryAlignment); IO.mapRequired("TableSize", Section.TableSize); IO.mapRequired("TableAlignment", Section.TableAlignment); + IO.mapRequired("Needed", Section.Needed); } static void sectionMapping(IO &IO, WasmYAML::NameSection &Section) { -- cgit v1.2.3