Driver: Temporary hack to allow -ccc-print-bindings to work (for

testing) even with -pipe on.

llvm-svn: 67348
This commit is contained in:
Daniel Dunbar 2009-03-20 00:11:04 +00:00
parent 8d5baa09f8
commit 1fc898c40a
1 changed files with 4 additions and 1 deletions

View File

@ -791,7 +791,10 @@ void Driver::BuildJobsForAction(Compilation &C,
PipedJob *PJ = dyn_cast<PipedJob>(Dest);
if (!PJ) {
PJ = new PipedJob();
cast<JobList>(Dest)->addJob(PJ);
// FIXME: Temporary hack so that -ccc-print-bindings work until
// we have pipe support. Please remove later.
if (!CCCPrintBindings)
cast<JobList>(Dest)->addJob(PJ);
Dest = PJ;
}
Result = InputInfo(PJ, A->getType(), BaseInput);