Add a helper to printing BE of LE depending on the format.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jul 2015 15:13:41 +0000 (15:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jul 2015 15:13:41 +0000 (15:13 +0000)
commit36969278468c29919360b47ac9bc6e9a1ddf684f
tree90231c7cdd10eb362f1ff24abdaf2faaf0087c04
parentcdc323b2b7b2920b6c929c7d5169fde82c7a42ac
Add a helper to printing BE of LE depending on the format.

The gnu ar format uses BE numbers. The BSD one uses LE. Add a helper for one or the
other. NFC for now, just removes some noise from the following patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241808 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ArchiveWriter.cpp