Index: lld/ELF/DriverUtils.cpp =================================================================== --- lld/ELF/DriverUtils.cpp +++ lld/ELF/DriverUtils.cpp @@ -186,8 +186,11 @@ // 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: