[all-commits] [llvm/llvm-project] d4cf89: [lld-macho] Downgrade missing fat arch to warning

Keith Smiley via All-commits all-commits at lists.llvm.org
Thu Jan 12 16:49:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4cf89ad5a374f9f81446f12da2386c96b80d3dc
      https://github.com/llvm/llvm-project/commit/d4cf89ad5a374f9f81446f12da2386c96b80d3dc
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/fat-arch.s

  Log Message:
  -----------
  [lld-macho] Downgrade missing fat arch to warning

This mirrors ld64's behavior. In many cases this likely still leads to a
link failure but if you didn't actually use anything from the library
it can be ignored. If you care about these invalid cases -fatal_warnings
still upgrades it back to an error.

Example: https://github.com/keith/ld64.lld/issues/3

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




More information about the All-commits mailing list