[PATCH] D82252: MachO: support `-syslibroot`

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 21:39:36 PDT 2020


compnerd created this revision.
compnerd added reviewers: smeenai, Ktwu, int3, lld-macho.
compnerd added projects: lld, lld-macho.
Herald added a project: LLVM.

This adds support for the `-syslibroot` option.  This is required to
make the library search order actually function.  With this, it is now
possible to link a test Darwin x86_64 program with lld on Darwin.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82252

Files:
  lld/MachO/Driver.cpp
  lld/test/MachO/syslibroot.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82252.272231.patch
Type: text/x-patch
Size: 6482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200620/fe65d21d/attachment.bin>


More information about the llvm-commits mailing list