1 # Test -dependency_info option
3 # RUN: ld64.lld -arch x86_64 -test_file_usage \
4 # RUN: -dependency_info %t.info \
5 # RUN: -path_exists /System/Library/Frameworks \
6 # RUN: -path_exists /System/Library/Frameworks/Foo.framework/Foo \
7 # RUN: -path_exists /Custom/Frameworks \
8 # RUN: -path_exists /Custom/Frameworks/Bar.framework/Bar \
9 # RUN: -F/Custom/Frameworks \
10 # RUN: -framework Bar \
12 # RUN: '%python' %p/Inputs/DependencyDump.py %t.info | FileCheck %s
15 # CHECK: linker-vers: lld
16 # CHECK: input-file: /Custom/Frameworks{{[/\\]}}Bar.framework{{[/\\]}}Bar
17 # CHECK: not-found: /Custom/Frameworks{{[/\\]}}Foo.framework{{[/\\]}}Foo
18 # CHECK: input-file: /System/Library/Frameworks{{[/\\]}}Foo.framework{{[/\\]}}Foo
19 # CHECK: output-file: a.out