2017-08-28 05:46:59 +08:00
|
|
|
# Test -dependency_info option
|
|
|
|
#
|
2018-08-05 05:47:16 +08:00
|
|
|
# RUN: ld64.lld -arch x86_64 -test_file_usage \
|
2017-08-28 05:46:59 +08:00
|
|
|
# RUN: -dependency_info %t.info \
|
|
|
|
# RUN: -path_exists /System/Library/Frameworks \
|
|
|
|
# RUN: -path_exists /System/Library/Frameworks/Foo.framework/Foo \
|
|
|
|
# RUN: -path_exists /Custom/Frameworks \
|
|
|
|
# RUN: -path_exists /Custom/Frameworks/Bar.framework/Bar \
|
|
|
|
# RUN: -F/Custom/Frameworks \
|
|
|
|
# RUN: -framework Bar \
|
|
|
|
# RUN: -framework Foo
|
2018-08-26 10:10:32 +08:00
|
|
|
# RUN: %python %p/Inputs/DependencyDump.py %t.info | FileCheck %s
|
2017-08-28 05:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
# CHECK: linker-vers: lld
|
|
|
|
# CHECK: input-file: /Custom/Frameworks{{[/\\]}}Bar.framework{{[/\\]}}Bar
|
|
|
|
# CHECK: not-found: /Custom/Frameworks{{[/\\]}}Foo.framework{{[/\\]}}Foo
|
|
|
|
# CHECK: input-file: /System/Library/Frameworks{{[/\\]}}Foo.framework{{[/\\]}}Foo
|
|
|
|
# CHECK: output-file: a.out
|