1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/devtools/rootAnalysis/gen-hazards.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +set -e 1.7 + 1.8 +JOBS="$1" 1.9 + 1.10 +for j in $(seq $JOBS); do 1.11 + env PATH=$PATH:$SIXGILL/bin XDB=$SIXGILL/bin/xdb.so $JS $ANALYZE gcFunctions.lst suppressedFunctions.lst gcTypes.txt $j $JOBS tmp.$j > rootingHazards.$j & 1.12 +done 1.13 + 1.14 +wait 1.15 + 1.16 +for j in $(seq $JOBS); do 1.17 + cat rootingHazards.$j 1.18 +done