[PATCH] D42872: Fix handling of zero-size segments in llvm-objcopy

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 12:38:23 PST 2018


ruiu added a comment.

> This seems like the right choice to me given that information. I didn't realize the list of program header types was so small. This is clearly the right way to do it.

Yup. This is the list of all known segment types, and that's not many: https://github.com/llvm-project/llvm-project-20170507/blob/master/llvm/include/llvm/BinaryFormat/ELF.h#L1061


Repository:
  rL LLVM

https://reviews.llvm.org/D42872





More information about the llvm-commits mailing list