zig/deps/lld/test/mach-o/libresolve-bizarre-root-override.yaml
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

18 lines
664 B
YAML

# RUN: not lld -flavor darwin -test_file_usage -v \
# RUN: -path_exists /usr/lib \
# RUN: -path_exists /Applications/MySDK/usr/local/lib \
# RUN: -path_exists /Applications/MySDK/usr/lib \
# RUN: -path_exists /Applications/MySDK/usr/lib/libSystem.dylib \
# RUN: -syslibroot /Applications/MySDK \
# RUN: -syslibroot / \
# RUN: -lSystem \
# RUN: 2>&1 | FileCheck %s
# When the last -syslibroot is simply "/", all of them get discarded. So in this
# case, only /usr/lib should show up.
# CHECK: Library search paths:
# CHECK: /usr/lib
# CHECK-NOT: /usr/local/lib
# CHECK: Unable to find library for -lSystem