File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ std::string elf::createResponseFile(const opt::InputArgList &args) {
174174 break ;
175175 case OPT_o:
176176 case OPT_Map:
177+ case OPT_dependency_file:
177178 case OPT_print_archive_stats:
178179 case OPT_why_extract:
179180 // If an output path contains directories, "lld @response.txt" will
Original file line number Diff line number Diff line change 7676## Check that directory path is stripped from -o <file-path>
7777# RUN: mkdir -p %t.dir/build4/a/b/c
7878# RUN: cd %t.dir
79- # RUN: ld.lld build1/foo.o -o build4/a/b/c/bar -Map build4/map --print-archive-stats=build4/stats \
79+ # RUN: ld.lld build1/foo.o -o build4/a/b/c/bar -Map build4/map --dependency-file=build4/bar.d -- print-archive-stats=build4/stats \
8080# RUN: --why-extract=build4/why -shared --as-needed --reproduce=repro4.tar
8181# RUN: tar xOf repro4.tar repro4/response.txt | FileCheck %s --check-prefix=RSP4
8282# RSP4: -o bar
8383# RSP4-NEXT: -Map map
84+ # RSP4-NEXT: --dependency-file bar.d
8485# RSP4-NEXT: --print-archive-stats=stats
8586# RSP4-NEXT: --why-extract=why
8687
You can’t perform that action at this time.
0 commit comments