[PATCH] D92496: [mac/lld] Implement -why_load

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 10:24:04 PST 2020


thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added a subscriber: dang.
thakis requested review of this revision.

This is useful for debugging why lld loads .o it shouldn't load.
It's also useful for users of lld -- I've used ld64's version of this a
few times.


https://reviews.llvm.org/D92496

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Driver.h
  lld/MachO/DriverUtils.cpp
  lld/MachO/InputFiles.cpp
  lld/MachO/Options.td
  lld/test/MachO/why-load.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92496.309005.patch
Type: text/x-patch
Size: 7106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/9e6942c6/attachment.bin>


More information about the llvm-commits mailing list