[PATCH] D135193: [lld-macho][test] Add -lSystem to all lld invocations

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 13:48:25 PDT 2022


keith created this revision.
Herald added projects: lld-macho, All.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135193

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135193.465145.patch
Type: text/x-patch
Size: 19228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221004/629f49f3/attachment-0001.bin>


More information about the llvm-commits mailing list