[all-commits] [llvm/llvm-project] ebac71: [lld-macho] Don't warn on non-existent system libr...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Nov 30 13:07:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ebac7100090a914e6a4dd0fdf2a5a196423cbaec
      https://github.com/llvm/llvm-project/commit/ebac7100090a914e6a4dd0fdf2a5a196423cbaec
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

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

  Log Message:
  -----------
  [lld-macho] Don't warn on non-existent system libraries

Now, new mach-o lld no longer warns if the isysroot has just
usr/lib and System/Library/Frameworks but is missing usr/local/lib
and System/Frameworks.

This matches ld64 and old mach-o lld and fixes a regression from D85992.

It also fixes the only test failure in `check-lld` when running it
on an M1 Mac.

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




More information about the All-commits mailing list