[PATCH] D36558: [llvm-objcopy] Add support for nested and overlapping segments

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 16:24:07 PDT 2017


jakehehrlich updated this revision to Diff 113333.
jakehehrlich added a comment.

1. Switched to using Index instead of FileSize for parent determination. FileSize was only being used to disambiguate the case where two segments had the same offset. Index does that better for reasons James pointed out.
2. Fixed bug where Offset was being used instead of OriginalOffset
3. Fixed lots of typos


Repository:
  rL LLVM

https://reviews.llvm.org/D36558

Files:
  test/tools/llvm-objcopy/pt-phdr.test
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36558.113333.patch
Type: text/x-patch
Size: 7082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170830/c72a017d/attachment.bin>


More information about the llvm-commits mailing list