xref: /illumos-gate/usr/src/tools/smatch/src/sparsei (revision 856f710c9dc323b39da5935194d7928ffb99b67f)
1#!/bin/sh
2
3set +e
4
5DIRNAME=`dirname $0`
6LLI=`"${LLVM_CONFIG:-llvm-config}" --bindir`/lli
7
8if [ $# -eq 0 ]; then
9  echo "`basename $0`: no input files"
10  exit 1
11fi
12
13$DIRNAME/sparse-llvm $@ | $LLI
14