repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
constants: define a bunch of constant svals
[smatch.git]
/
sparse-llvm-dis
blob
2958217b4a9933f04fc7493a45584b524e9615af
1
#!/bin/sh
2
#
3
# For testing sparse-llvm emitted bytecode
4
5
set
+
e
6
7
DIS
=
$
(
"
${LLVM_CONFIG:-llvm-config}
"
--bindir
)/
llvm-dis
8
9
if
[
$#
-eq
0
];
then
10
echo
"$(basename
$0
): no input files"
11
exit
1
12
fi
13
14
DIRNAME
=
$
(
dirname
$0
)
15
$DIRNAME
/
sparse-llvm
"$@"
|
"
$DIS
"
|
grep
-v
'^target '