[all-commits] [llvm/llvm-project] 542d3b: [mac/lld] Implement -why_load

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Dec 2 15:33:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 542d3b609dbe99a30759942271398890fc7770dc
      https://github.com/llvm/llvm-project/commit/542d3b609dbe99a30759942271398890fc7770dc
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Driver.h
    M lld/MachO/DriverUtils.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/Options.td
    A lld/test/MachO/why-load.s

  Log Message:
  -----------
  [mac/lld] Implement -why_load

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

Differential Revision: https://reviews.llvm.org/D92496




More information about the All-commits mailing list