From: David Majnemer Date: Thu, 17 Mar 2016 16:55:11 +0000 (+0000) Subject: Forgot to commit this with r263692 X-Git-Tag: llvmorg-3.9.0-rc1~11530 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62fed0c354ad3c0ad5cd5dc87ed1b4ac77a2e119;p=platform%2Fupstream%2Fllvm.git Forgot to commit this with r263692 llvm-svn: 263721 --- 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); }