aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <alexshap@fb.com>2020-11-06 13:10:41 -0800
committerAlexander Shaposhnikov <alexshap@fb.com>2020-11-06 13:29:43 -0800
commitf147f59cd377a6be68e5ca5c343eb11df8e7ee6f (patch)
treebfe881a02153fa4d6f1c780e30bd7b613d8c5d26 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent2993850237b089d134cec2776312b61ef9bff757 (diff)
downloadllvm-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