diff options
Diffstat (limited to 'llvm/lib/ObjectYAML/WasmYAML.cpp')
| -rw-r--r-- | llvm/lib/ObjectYAML/WasmYAML.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/WasmYAML.cpp b/llvm/lib/ObjectYAML/WasmYAML.cpp index 6a68cd265ad..8aea8cfb4bc 100644 --- a/llvm/lib/ObjectYAML/WasmYAML.cpp +++ b/llvm/lib/ObjectYAML/WasmYAML.cpp @@ -59,7 +59,7 @@ static void sectionMapping(IO &IO, WasmYAML::LinkingSection &Section) { IO.mapRequired("Name", Section.Name); IO.mapRequired("DataSize", Section.DataSize); IO.mapRequired("DataAlignment", Section.DataAlignment); - IO.mapRequired("SymbolInfo", Section.SymbolInfos); + IO.mapOptional("SymbolInfo", Section.SymbolInfos); } static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { |

