[all-commits] [llvm/llvm-project] ea3235: [lld-macho] Ignore -debug_variant flag

Keith Smiley via All-commits all-commits at lists.llvm.org
Fri Mar 3 09:01:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea32351fae6507a086ebd6039aba3ce36f28498d
      https://github.com/llvm/llvm-project/commit/ea32351fae6507a086ebd6039aba3ce36f28498d
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M lld/MachO/Options.td
    M lld/test/MachO/silent-ignore.s

  Log Message:
  -----------
  [lld-macho] Ignore -debug_variant flag

As far as I can tell all this flag does in ld64 is warn about cases
where you're building dylibs that are going to be part of the shared
cache, which I assume only apple is doing. Strangely I have seen this
flag being passed in the wild so this silences the warning about it.

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




More information about the All-commits mailing list