diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-15 00:25:26 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-15 00:25:26 +0000 |
commit | fe57e347a57d643bbbcc9c19c8267a3e8c06b5a6 (patch) | |
tree | da48782b264f1304280f79ee5557da48653e3017 /lib/Object | |
parent | 5aee09da12a1ba8553792d9017785e51199e38c2 (diff) | |
download | external_llvm-fe57e347a57d643bbbcc9c19c8267a3e8c06b5a6.zip external_llvm-fe57e347a57d643bbbcc9c19c8267a3e8c06b5a6.tar.gz external_llvm-fe57e347a57d643bbbcc9c19c8267a3e8c06b5a6.tar.bz2 |
[yaml2obj] Add support for sh_link via `Link` key.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184022 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 6e99767..e0e95be 100644 --- a/lib/Object/ELFYAML.cpp +++ b/lib/Object/ELFYAML.cpp @@ -267,6 +267,7 @@ void MappingTraits<ELFYAML::Section>::mapping(IO &IO, IO.mapOptional("Flags", Section.Flags, ELFYAML::ELF_SHF(0)); IO.mapOptional("Address", Section.Address, Hex64(0)); IO.mapOptional("Content", Section.Content); + IO.mapOptional("Link", Section.Link); IO.mapOptional("AddressAlign", Section.AddressAlign, Hex64(0)); } |