[all-commits] [llvm/llvm-project] 2b920a: [lld] Add archive file support to Mach-O backend

Ktwu via All-commits all-commits at lists.llvm.org
Thu May 14 12:58:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b920ae78c1d3fd36aeb7e77ca8de18a36b92344
      https://github.com/llvm/llvm-project/commit/2b920ae78c1d3fd36aeb7e77ca8de18a36b92344
  Author: Kellie Medlin <kelliem at fb.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/InputFiles.h
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/SymbolTable.h
    M lld/MachO/Symbols.cpp
    M lld/MachO/Symbols.h
    A lld/test/MachO/archive.s
    A lld/test/MachO/invalid/archive-no-index.s
    A lld/test/MachO/invalid/bad-archive.s
    A lld/test/MachO/symbol-order.s

  Log Message:
  -----------
  [lld] Add archive file support to Mach-O backend

With this change, basic archive files can be linked together. Input
section discovery has been refactored into a function since archive
files lazily resolve their symbols / the object files containing those
symbols.

Reviewed By: int3, smeenai

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




More information about the All-commits mailing list