[PATCH] D78474: [llvm-objcopy][MachO] Make --remove-section clean up dead symbols

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 18:25:11 PDT 2020


MaskRay 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()) {
----------------
Why is the type change?


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