Mercurial > hg > CbC > CbC_llvm
view lld/test/mach-o/libresolve-one-syslibroot.yaml @ 213:25ca0248ac32
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jul 2021 17:05:31 +0900 |
parents | 2e18cbf3894f |
children |
line wrap: on
line source
# RUN: ld64.lld.darwinold -test_file_usage -v \ # RUN: -path_exists /usr/lib \ # RUN: -path_exists /Applications/MySDK/usr/local/lib \ # RUN: -path_exists /Applications/MySDK/usr/local/lib/libSystem.a \ # RUN: -path_exists /hasFoo \ # RUN: -path_exists /hasFoo/foo.o \ # RUN: -syslibroot /Applications/MySDK \ # RUN: -L/hasFoo \ # RUN: -lSystem -lfoo.o \ # RUN: 2>&1 | FileCheck %s # When just one -syslibroot is specified, we apparently want to skip *system* # paths that aren't found. User ones should still get added. In this case # /usr/lib exists, but not the equivalent in the -syslibroot, so there should be # no mention of /usr/lib. # CHECK: Library search paths: # CHECK: /hasFoo # CHECK-NOT: /usr/lib # CHECK-NOT: /usr/local/lib # CHECK: /Applications/MySDK/usr/local/lib # CHECK-NOT: /usr/lib # CHECK-NOT: /usr/local/lib # CHECK: Found library /Applications/MySDK/usr/local/lib/libSystem.a # CHECK: Found library /hasFoo/foo.o