svn commit: r280472 - projects/lld-import/contrib/llvm/lib/Object
Dimitry Andric
dim at FreeBSD.org
Tue Mar 24 22:36:53 UTC 2015
Author: dim
Date: Tue Mar 24 22:36:52 2015
New Revision: 280472
URL: https://svnweb.freebsd.org/changeset/base/280472
Log:
Pull in r227422 from upstream llvm trunk (by Simon Atanasyan):
[ELFYAML] Provide default value 0 for YAML relocation addendum field
Follow up to r227318.
This is a prerequisite for building lld trunk.
Modified:
projects/lld-import/contrib/llvm/lib/Object/ELFYAML.cpp
Modified: projects/lld-import/contrib/llvm/lib/Object/ELFYAML.cpp
==============================================================================
--- projects/lld-import/contrib/llvm/lib/Object/ELFYAML.cpp Tue Mar 24 22:06:36 2015 (r280471)
+++ projects/lld-import/contrib/llvm/lib/Object/ELFYAML.cpp Tue Mar 24 22:36:52 2015 (r280472)
@@ -591,7 +591,7 @@ void MappingTraits<ELFYAML::Relocation>:
} 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) {
More information about the svn-src-projects
mailing list