[all-commits] [llvm/llvm-project] e0b860: [lld/mac] Implement -u flag

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Feb 9 05:23:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b8604e5d3c80a727a833663e765c8057ce7825
      https://github.com/llvm/llvm-project/commit/e0b8604e5d3c80a727a833663e765c8057ce7825
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    A lld/test/MachO/u.s

  Log Message:
  -----------
  [lld/mac] Implement -u flag

Since we emit diagnostics for undefineds in Writer::scanRelocations()
and symbols referenced by -u flags aren't referenced by any relocations,
this needs some manual code (similar to the entry point).

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




More information about the All-commits mailing list