[all-commits] [llvm/llvm-project] 7afbf3: [lld-macho] minimally handle option -dynamic

Greg McGary via All-commits all-commits at lists.llvm.org
Tue Sep 22 08:05:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7afbf3192dc5690285edbfb336c061a9d43e247e
      https://github.com/llvm/llvm-project/commit/7afbf3192dc5690285edbfb336c061a9d43e247e
  Author: Greg McGary <gkm at fb.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td

  Log Message:
  -----------
  [lld-macho] minimally handle option -dynamic

Stifle the warning for unimplemented option `-dyamic`, since it is already the default. Add `Config::staticLink` and skeletal support for altering the flag, but otherwise leave the option `-static` as hidden and its warning in place.

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




More information about the All-commits mailing list