From 62fed0c354ad3c0ad5cd5dc87ed1b4ac77a2e119 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Thu, 17 Mar 2016 16:55:11 +0000 Subject: [PATCH] Forgot to commit this with r263692 llvm-svn: 263721 --- llvm/lib/ObjectYAML/COFFYAML.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/ObjectYAML/COFFYAML.cpp b/llvm/lib/ObjectYAML/COFFYAML.cpp index 0aa1362..f3a4f00 100644 --- a/llvm/lib/ObjectYAML/COFFYAML.cpp +++ b/llvm/lib/ObjectYAML/COFFYAML.cpp @@ -487,7 +487,7 @@ void MappingTraits::mapping(IO &IO, COFFYAML::Section &Sec) { IO.mapRequired("Characteristics", NC->Characteristics); IO.mapOptional("VirtualAddress", Sec.Header.VirtualAddress, 0U); IO.mapOptional("VirtualSize", Sec.Header.VirtualSize, 0U); - IO.mapOptional("Alignment", Sec.Alignment); + IO.mapOptional("Alignment", Sec.Alignment, 0U); IO.mapRequired("SectionData", Sec.SectionData); IO.mapOptional("Relocations", Sec.Relocations); } -- 2.7.4