diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-13 22:20:01 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-13 22:20:01 +0000 |
commit | 2a7e79a30f87be4103963e6049a2f1cf171f502c (patch) | |
tree | d68a19150639fa5c8e8e8a3809a19152b3dc3fcb /lib/Object | |
parent | 45b812d1a79f3f8642821e65a25d92e3d741a095 (diff) | |
download | external_llvm-2a7e79a30f87be4103963e6049a2f1cf171f502c.zip external_llvm-2a7e79a30f87be4103963e6049a2f1cf171f502c.tar.gz external_llvm-2a7e79a30f87be4103963e6049a2f1cf171f502c.tar.bz2 |
[yaml2obj] Add support for specifying raw section content.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object')
-rw-r--r-- | lib/Object/ELFYAML.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Object/ELFYAML.cpp b/lib/Object/ELFYAML.cpp index 9ce2b9b..21ca035 100644 --- a/lib/Object/ELFYAML.cpp +++ b/lib/Object/ELFYAML.cpp @@ -266,6 +266,7 @@ void MappingTraits<ELFYAML::Section>::mapping(IO &IO, IO.mapRequired("Type", Section.Type); IO.mapOptional("Flags", Section.Flags, ELFYAML::ELF_SHF(0)); IO.mapOptional("Address", Section.Address, Hex64(0)); + IO.mapOptional("Content", Section.Content); } void MappingTraits<ELFYAML::Object>::mapping(IO &IO, ELFYAML::Object &Object) { |