[PATCH] D78474: [llvm-objcopy][MachO] Make --remove-section clean up dead symbols
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 19:29:18 PDT 2020
alexshap marked an inline comment as done.
alexshap added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/MachO/MachOReader.cpp:117
// For MachO sections indices start from 1.
- size_t NextSectionIndex = 1;
+ uint32_t NextSectionIndex = 1;
for (auto LoadCmd : MachOObj.load_commands()) {
----------------
MaskRay wrote:
> Why is the type change?
because in Section Index has this type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78474/new/
https://reviews.llvm.org/D78474
More information about the llvm-commits
mailing list