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 | a6423eb8beee1d87aeb47d0db820b210ed2b1c79 (patch) | |
tree | 193f741d2b2cdcfe5b69156d1f1e95c24264b735 /llvm/lib/Object/ELFYAML.cpp | |
parent | 371573448c5fb5d102c5783c6f0ab15a40aa0929 (diff) | |
download | bcm5719-llvm-a6423eb8beee1d87aeb47d0db820b210ed2b1c79.tar.gz bcm5719-llvm-a6423eb8beee1d87aeb47d0db820b210ed2b1c79.zip |
[yaml2obj] Add support for sh_link via `Link` key.
llvm-svn: 184022
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 6e99767f87f..e0e95bee934 100644 --- a/llvm/lib/Object/ELFYAML.cpp +++ b/llvm/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)); } |