[yaml2obj] Add support for sh_addralign via AddressAlign key.

For consistency, change the address in the test case from 0xDEADBEEF to
0xCAFEBABE since 0xCAFEBABE that actually has a 2-byte alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Silva
2013-06-14 00:38:02 +00:00
parent 38084db681
commit 97d37e8181
4 changed files with 7 additions and 3 deletions
+1
View File
@@ -55,6 +55,7 @@ struct Section {
ELF_SHF Flags;
llvm::yaml::Hex64 Address;
object::yaml::BinaryRef Content;
llvm::yaml::Hex64 AddressAlign;
};
struct Object {
FileHeader Header;