diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-20 00:11:04 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-20 00:11:04 +0000 |
commit | 1fc898c40aea7be8d2c71cce73c591e1e3b2cc37 (patch) | |
tree | 3ae624a352e35f53e63af3d598e464713aa067f8 /clang/lib/Driver/Driver.cpp | |
parent | 8d5baa09f83e054d2c55576fedfe1cc73435f7c2 (diff) | |
download | bcm5719-llvm-1fc898c40aea7be8d2c71cce73c591e1e3b2cc37.tar.gz bcm5719-llvm-1fc898c40aea7be8d2c71cce73c591e1e3b2cc37.zip |
Driver: Temporary hack to allow -ccc-print-bindings to work (for
testing) even with -pipe on.
llvm-svn: 67348
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index f5daf3e16bb..10b73d3a0ef 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -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); |