[PATCH] D85992: [lld-macho] Fall back to raw path if we don't find anything under syslibroot

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 16:09:30 PDT 2020


int3 added inline comments.


================
Comment at: lld/test/MachO/syslibroot.test:3-6
 RUN: lld -flavor darwinnew -v -syslibroot /var/empty | FileCheck %s -check-prefix CHECK-NONEXISTENT-SYSLIBROOT
 
 CHECK-NONEXISTENT-SYSLIBROOT: Library search paths:
 CHECK-NONEXISTENT-SYSLIBROOT-NEXT: Framework search paths:
----------------
> As in, if you pass -syslibroot and there's e.g. no /usr/lib under it, we shouldn't add the standard /usr/lib to the search path.

This test covers that already :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85992/new/

https://reviews.llvm.org/D85992



More information about the llvm-commits mailing list