forked from OSchip/llvm-project
lld/ELF: Make three rarely-used flags work with --reproduce
All three use readFile() for their argument so their argument file is already copied to the tar, but we weren't rewriting the argument to point to the path used in the tar file. No test because the change is trivial (several other flags in createResponseFile() also aren't tested, likely for the same reason.) Differential Revision: https://reviews.llvm.org/D92356
This commit is contained in:
parent
17427ec3f3
commit
4431c212a0
|
@ -186,8 +186,11 @@ std::string elf::createResponseFile(const opt::InputArgList &args) {
|
|||
// Strip directories to prevent the issue.
|
||||
os << "-o " << quote(path::filename(arg->getValue())) << "\n";
|
||||
break;
|
||||
case OPT_call_graph_ordering_file:
|
||||
case OPT_dynamic_list:
|
||||
case OPT_just_symbols:
|
||||
case OPT_library_path:
|
||||
case OPT_retain_symbols_file:
|
||||
case OPT_rpath:
|
||||
case OPT_script:
|
||||
case OPT_symbol_ordering_file:
|
||||
|
|
Loading…
Reference in New Issue