]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/mach-o/dependency_info.yaml
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / mach-o / dependency_info.yaml
1 # Test -dependency_info option
2 #
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 \
11 # RUN:        -framework Foo
12 # RUN: '%python' %p/Inputs/DependencyDump.py %t.info | FileCheck %s
13
14
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