[all-commits] [llvm/llvm-project] e29dc0: [lld] Implement safe icf for MachO

alx32 via All-commits all-commits at lists.llvm.org
Tue May 3 18:01:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e29dc0c6fde284e7f05aa5f45b05c629c9fad295
      https://github.com/llvm/llvm-project/commit/e29dc0c6fde284e7f05aa5f45b05c629c9fad295
  Author: Alex Borcan <alexborcan at fb.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/ICF.cpp
    M lld/MachO/ICF.h
    M lld/MachO/InputFiles.cpp
    M lld/MachO/InputFiles.h
    M lld/MachO/InputSection.h
    M lld/test/MachO/icf-options.s
    A lld/test/MachO/icf-safe.s

  Log Message:
  -----------
  [lld] Implement safe icf for MachO

This change implements --icf=safe for MachO based on addrsig section that is implemented in D123751.

Reviewed By: int3, #lld-macho

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




More information about the All-commits mailing list