mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
a0b02387ac
Some binaries can contain regular sections with zero offset and zero size. This diff makes llvm-objcopy's handling of such sections consistent with cctools's strip (which doesn't modify them), previously the tool would allocate file space for them. Test plan: make check-all Differential revision: https://reviews.llvm.org/D90796