[PATCH] D75104: [tools][llvm-objcopy] Enable --discard-all for MachO
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 09:03:05 PST 2020
MaskRay added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp:72
+ if (Config.DiscardMode == DiscardType::All)
+ return !static_cast<bool>(N->n_type & MachO::N_EXT);
+ return false;
----------------
Is this binutils's behavior? I cannot find a reference to `N_EXT`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75104/new/
https://reviews.llvm.org/D75104
More information about the llvm-commits
mailing list