mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
[ELFYAML] Provide default value 0 for YAML relocation addendum field
Follow up to r227318. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -592,7 +592,7 @@ void MappingTraits<ELFYAML::Relocation>::mapping(IO &IO,
|
||||
} else
|
||||
IO.mapRequired("Type", Rel.Type);
|
||||
|
||||
IO.mapOptional("Addend", Rel.Addend);
|
||||
IO.mapOptional("Addend", Rel.Addend, (int64_t)0);
|
||||
}
|
||||
|
||||
void MappingTraits<ELFYAML::Object>::mapping(IO &IO, ELFYAML::Object &Object) {
|
||||
|
Reference in New Issue
Block a user