commit | 8a0ff180e8b553571bdbd057837f54b6ed250a81 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Aug 06 21:54:37 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Aug 06 21:54:37 2015 +0000 |
tree | b00767f3751e55620d184798bb33af1be92bce66 | |
parent | ecc0eab4a8ddb12dfd8fca8ab50c45c8a5b931a8 [diff] |
Move to llvm-readobj code that is only used there. lld might end up using a small part of this, but it will be in a much refactored form. For now this unblocks avoiding the full section scan in the ELFFile constructor. This also has a (very small) error handling improvement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244282 91177308-0d34-0410-b5e6-96231b3b80d8