Driver: Add missed translation for darwin::Preprocess (gcc), -d*

wasn't being forwarded.

llvm-svn: 68365
This commit is contained in:
Daniel Dunbar 2009-04-03 01:27:06 +00:00
parent 3e90e33356
commit 6a8803a34f
1 changed files with 2 additions and 0 deletions

View File

@ -864,6 +864,8 @@ void darwin::Preprocess::ConstructJob(Compilation &C, const JobAction &JA,
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());