commit | 488fe85c61807145b2d052a9104ceca80e17df74 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue Dec 01 06:51:30 2009 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue Dec 01 06:51:30 2009 +0000 |
tree | c8ffaf362400abe964d2673067e86d54dba8395a | |
parent | 333b7e1d9e904eff9b98e20984cbd8439b86282f [diff] |
Forward -save-temps to llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90214 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 546988a..8b55b81 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -1155,6 +1155,9 @@ 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()";