[all-commits] [llvm/llvm-project] 7be166: lld/MachO: Remove a useless temporary

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Jul 1 21:07:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7be1661fc6ed3f5c0d0365f5528717707757a382
      https://github.com/llvm/llvm-project/commit/7be1661fc6ed3f5c0d0365f5528717707757a382
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M lld/MachO/Driver.cpp

  Log Message:
  -----------
  lld/MachO: Remove a useless temporary


  Commit: ba5087f13025a15662e164eb371fe0678258e03f
      https://github.com/llvm/llvm-project/commit/ba5087f13025a15662e164eb371fe0678258e03f
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M lld/lib/ReaderWriter/MachO/File.h
    M lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
    M lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
    M lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
    M lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
    A lld/test/mach-o/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
    A lld/test/mach-o/stub-link.s

  Log Message:
  -----------
  ld64.lld: Add janky support for tbd files

With this, a simple hello world links against libSystem.tbd and the
old ld64.lld linker kind of works again with newer SDKs.

The motivation here is to have an arm64 cross linker that's good
enough to be able to run simple configure link checks on non-mac
systems for generating config.h files. Once -flavor darwinnew can
link arm64, we'll switch to that.


Compare: https://github.com/llvm/llvm-project/compare/c9f251aa6f62...ba5087f13025


More information about the All-commits mailing list