[PATCH] D96963: [lld/mac] reject -undefined warning and -undefined suppress with -twolevel_namespace

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 08:26:27 PST 2021


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

-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


https://reviews.llvm.org/D96963

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96963.324651.patch
Type: text/x-patch
Size: 6219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210218/afc63767/attachment.bin>


More information about the llvm-commits mailing list