aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2011-11-21 22:03:03 +0200
committerPekka Enberg <penberg@kernel.org>2011-11-21 22:03:03 +0200
commit7101fe01404bbd985471122258b952abeaa0845b (patch)
treec00bcacf5095d3dc48a3b0902165670b545be60a
parentd5077986c067b81111325311dd1892eef62743f2 (diff)
downloadsparse-7101fe01404bbd985471122258b952abeaa0845b.tar.gz
sparse, llvm: Make llc output to stdout in sparsec
This patch fixes a bug in 'sparsec' that made it generate empty object files. Cc: Christopher Li <sparse@chrisli.org> Cc: Jeff Garzik <jgarzik@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rwxr-xr-xsparsec2
1 files changed, 1 insertions, 1 deletions
diff --git a/sparsec b/sparsec
index 33e1a2b5..9c90b305 100755
--- a/sparsec
+++ b/sparsec
@@ -34,7 +34,7 @@ TMPFILE=`mktemp -t tmp.XXXXXX`".o"
$DIRNAME/sparse-llvm $SPARSEOPTS > $TMPLLVM
-llc $TMPLLVM | as -o $TMPFILE
+llc -o - $TMPLLVM | as -o $TMPFILE
if [ $NEED_LINK -eq 1 ]; then
if [ -z $OUTFILE ]; then