]> granicus.if.org Git - llvm/commit
[yaml2obj][tests] Replace 8-byte `od` conversion with 1-byte conversion
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Sat, 3 Aug 2019 18:52:45 +0000 (18:52 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Sat, 3 Aug 2019 18:52:45 +0000 (18:52 +0000)
commitfca30d2cc8ed2e51f1d672b308c45210810c62c5
treeda105af46d87677ce92dc4f24899e6018789f440
parente57a400125b57d0534414ac4e1235b3ba3506a4d
[yaml2obj][tests] Replace 8-byte `od` conversion with 1-byte conversion

Summary:
`od` on AIX does not seem to implement 8-byte integer conversions. Work
around this by using 1-byte conversions, which can be used in this case
since the value is byte-order insensitive.

Reviewers: grimar, daltenty, xingxue, jasonliu, MaskRay

Reviewed By: grimar, MaskRay

Subscribers: MaskRay, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65671

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367760 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/yaml2obj/elf-override-shoffset.yaml
test/tools/yaml2obj/elf-override-shsize.yaml