view lld/test/mach-o/libresolve-multiple-syslibroots.yaml @ 192:d7606dcf6fce

Added tag llvm10 for changeset 0572611fdcc8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 18:01:34 +0900
parents 1d019706d866
children 2e18cbf3894f
line wrap: on
line source

# RUN: ld64.lld -test_file_usage -v \
# RUN:        -path_exists /usr/lib \
# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib \
# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib \
# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib/libSystem.a \
# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib/libSystem.a \
# RUN:        -syslibroot /Applications/MyFirstSDK \
# RUN:        -syslibroot /Applications/MySecondSDK \
# RUN:        -lSystem \
# RUN: 2>&1 | FileCheck %s


# CHECK: Library search paths:
# CHECK:     /usr/lib
# CHECK:     /Applications/MyFirstSDK/usr/local/lib
# CHECK:     /Applications/MySecondSDK/usr/local/lib
# CHECK: Found library /Applications/MyFirstSDK/usr/local/lib/libSystem.a