| # RUN: ld64.lld.darwinold -test_file_usage \ |
| # RUN: -filelist %p/Inputs/full.filelist \ |
| # RUN: -path_exists /foo/bar/a.o \ |
| # RUN: -path_exists /foo/bar/b.o \ |
| # RUN: -path_exists /foo/x.a \ |
| # RUN: 2>&1 | FileCheck %s |
| # |
| # RUN: ld64.lld.darwinold -test_file_usage -t \ |
| # RUN: -filelist %p/Inputs/partial.filelist,/foo \ |
| # RUN: -path_exists /foo/bar/a.o \ |
| # RUN: -path_exists /foo/bar/b.o \ |
| # RUN: -path_exists /foo/x.a \ |
| # RUN: 2>&1 | FileCheck %s |
| |
| |
| # CHECK: Found filelist entry /foo/bar/a.o |
| # CHECK: Found filelist entry /foo/bar/b.o |
| # CHECK: Found filelist entry /foo/x.a |