mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Forward -save-temps to llvm-gcc.
llvm-svn: 90214
This commit is contained in:
parent
7323159b21
commit
00a1410d6d
@ -111,6 +111,7 @@ class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool<
|
||||
(and (switch_on "emit-llvm"), (switch_on "c")), (stop_compilation),
|
||||
(switch_on "fsyntax-only"), (stop_compilation),
|
||||
(not_empty "include"), (forward "include"),
|
||||
(not_empty "save-temps"), (append_cmd "-save-temps"),
|
||||
(not_empty "I"), (forward "I"),
|
||||
(not_empty "F"), (forward "F"),
|
||||
(not_empty "D"), (forward "D"),
|
||||
|
@ -1155,6 +1155,9 @@ public:
|
||||
if (OptName == "o") {
|
||||
O << Neg << "OutputFilename.empty()";
|
||||
}
|
||||
else if (OptName == "save-temps") {
|
||||
O << Neg << "(SaveTemps == SaveTempsEnum::Unset)";
|
||||
}
|
||||
else {
|
||||
const OptionDescription& OptDesc = OptDescs_.FindListOrParameter(OptName);
|
||||
O << Neg << OptDesc.GenVariableName() << ".empty()";
|
||||
|
Loading…
Reference in New Issue
Block a user