[all-commits] [llvm/llvm-project] 28d995: [lld/mac] reject -undefined warning and -undefined...

Nico Weber via All-commits all-commits at lists.llvm.org
Sat Feb 20 10:35:55 PST 2021


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

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/treat-undef-sym.s

  Log Message:
  -----------
  [lld/mac] reject -undefined warning and -undefined suppress with -twolevel_namespace

See discussion on https://reviews.llvm.org/D93263

-flat_namespace isn't implemented yet, and neither is -undefined dynamic,
so this makes -undefined pretty pointless in lld/MachO for now. But once
we implement -flat_namespace (which we need to do anyways to get check-llvm
to pass with lld as host linker), the code's already there.

Follow-up to https://reviews.llvm.org/D93263#2491865

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




More information about the All-commits mailing list