diff options
author | Alexander Shaposhnikov <alexshap@fb.com> | 2020-11-06 13:10:41 -0800 |
---|---|---|
committer | Alexander Shaposhnikov <alexshap@fb.com> | 2020-11-06 13:29:43 -0800 |
commit | f147f59cd377a6be68e5ca5c343eb11df8e7ee6f (patch) | |
tree | bfe881a02153fa4d6f1c780e30bd7b613d8c5d26 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 2993850237b089d134cec2776312b61ef9bff757 (diff) | |
download | llvm-f147f59cd377a6be68e5ca5c343eb11df8e7ee6f.zip llvm-f147f59cd377a6be68e5ca5c343eb11df8e7ee6f.tar.gz llvm-f147f59cd377a6be68e5ca5c343eb11df8e7ee6f.tar.bz2 |
[llvm-objcopy][MachO] Skip sections with zero offset
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions