[all-commits] [llvm/llvm-project] 6629ec: [lld-macho] Implement -arch_errors_fatal

Keith Smiley via All-commits all-commits at lists.llvm.org
Wed Nov 3 22:02:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6629ec3ecc16ec6e62944085317934ccbc8ff645
      https://github.com/llvm/llvm-project/commit/6629ec3ecc16ec6e62944085317934ccbc8ff645
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/invalid/incompatible-arch.s

  Log Message:
  -----------
  [lld-macho] Implement -arch_errors_fatal

By default with ld64, architecture mismatches are just warnings, then
this flag can be passed to make these fail. This matches that behavior.

Reviewed By: int3, #lld-macho

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




More information about the All-commits mailing list