[all-commits] [llvm/llvm-project] 0634a8: [lld-macho][test] Add -lSystem to all lld invocations

Keith Smiley via All-commits all-commits at lists.llvm.org
Tue Oct 4 14:21:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0634a8440d63359e8f0e6674c192524bb404909f
      https://github.com/llvm/llvm-project/commit/0634a8440d63359e8f0e6674c192524bb404909f
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M lld/test/MachO/adhoc-codesign-hash.s
    M lld/test/MachO/arm-dtrace.s
    M lld/test/MachO/arm64-32-dtrace.s
    M lld/test/MachO/bind-opcodes.s
    M lld/test/MachO/dead-strip.s
    M lld/test/MachO/dyld-stub-binder.s
    M lld/test/MachO/dylink.s
    M lld/test/MachO/headerpad.s
    M lld/test/MachO/lc-linker-option.ll
    M lld/test/MachO/link-search-order.s
    M lld/test/MachO/lit.local.cfg
    M lld/test/MachO/local-symbol-output.s
    M lld/test/MachO/map-file.s
    M lld/test/MachO/search-paths.test

  Log Message:
  -----------
  [lld-macho][test] Add -lSystem to all lld invocations

This is a requirement from ld64, so this mirrors that expectation. Most
of these changes were just offsets from adding the library, or adding
dyld_stub_binder which is always added when linking ld64. This also adds
`%no-lsystem-lld` for the few cases where we're explicitly testing
things without that.

Fixes: https://github.com/llvm/llvm-project/issues/54184

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




More information about the All-commits mailing list