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 | 46dffffb39a528ce64e280d10ad7656d328fd9c4 (patch) | |
tree | 514ba0ae87a3f2424d96d21fc1ec011f93db6454 /llvm/lib/Object/ELFYAML.cpp | |
parent | f4bfcedfe598b53c6c6621d148b7d5e314a32f5f (diff) | |
download | bcm5719-llvm-46dffffb39a528ce64e280d10ad7656d328fd9c4.tar.gz bcm5719-llvm-46dffffb39a528ce64e280d10ad7656d328fd9c4.zip |
[yaml2obj] Add support for specifying raw section content.
llvm-svn: 183955
Diffstat (limited to 'llvm/lib/Object/ELFYAML.cpp')
-rw-r--r-- | llvm/lib/Object/ELFYAML.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/ELFYAML.cpp b/llvm/lib/Object/ELFYAML.cpp index 9ce2b9baadc..21ca0350b55 100644 --- a/llvm/lib/Object/ELFYAML.cpp +++ b/llvm/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) { |