[all-commits] [llvm/llvm-project] 0ccda7: MachO: support `-syslibroot`

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Aug 5 08:42:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ccda7c2326e1dc4e0d5d601dcc06c4b576acb0e
      https://github.com/llvm/llvm-project/commit/0ccda7c2326e1dc4e0d5d601dcc06c4b576acb0e
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/search-paths.test
    A lld/test/MachO/syslibroot.test

  Log Message:
  -----------
  MachO: support `-syslibroot`

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.

Differential Revision: https://reviews.llvm.org/D82252
Reviewed By: Jez Ng




More information about the All-commits mailing list