[cfe-commits] r68365 - /cfe/trunk/lib/Driver/Tools.cpp
Daniel Dunbar
daniel at zuster.org
Thu Apr 2 18:27:07 PDT 2009
Author: ddunbar
Date: Thu Apr 2 20:27:06 2009
New Revision: 68365
URL: http://llvm.org/viewvc/llvm-project?rev=68365&view=rev
Log:
Driver: Add missed translation for darwin::Preprocess (gcc), -d*
wasn't being forwarded.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=68365&r1=68364&r2=68365&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Apr 2 20:27:06 2009
@@ -864,6 +864,8 @@
CmdArgs.append(OutputArgs.begin(), OutputArgs.end());
}
+ Args.AddAllArgs(CmdArgs, options::OPT_d_Group);
+
const char *CC1Name = getCC1Name(Inputs[0].getType());
const char *Exec =
Args.MakeArgString(getToolChain().GetProgramPath(C, CC1Name).c_str());
More information about the cfe-commits
mailing list