reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
# RUN: ld64.lld -arch x86_64 -r -test_file_usage -v \
# RUN:        -path_exists /usr/lib \
# RUN:        -path_exists /usr/local/lib \
# RUN:        -path_exists /usr/lib/libSystem.dylib \
# RUN:        -path_exists hasFoo \
# RUN:        -path_exists hasFoo/libFoo.dylib \
# RUN:        -path_exists /hasBar \
# RUN:        -path_exists /hasBar/libBar.dylib \
# RUN:        -L hasFoo \
# RUN:        -L /hasBar \
# RUN:        -Z \
# RUN:        -lFoo -lBar \
# RUN: 2>&1 | FileCheck %s

# CHECK: Library search paths:
# CHECK:     hasFoo
# CHECK:     /hasBar
# CHECK-NOT:     /usr/lib
# CHECK-NOT:     /usr/local/lib
# CHECK: Found library hasFoo/libFoo.dylib
# CHECK: Found library /hasBar/libBar.dylib