Tornado debug option added
@@ -18,6 +18,7 @@ function print_usage {
echo ""
echo " --igv Dump GRAAL IR into IGV"
echo " --printKernel Print autogenerated OpenCL C Kernel"
+ echo " --debug Print debugging information"
echo " --version Print tornado version information"
echo " --log4j <config> Specifies log4j config file"
echo ""
@@ -57,6 +58,10 @@ case $key in
TORNADO_FLAGS="${TORNADO_FLAGS} -Dtornado.opencl.source.print=True "
shift
;;
+ --debug)
+ TORNADO_FLAGS="${TORNADO_FLAGS} -Dtornado.debug=True "
+ shift
+ ;;
--log4j)
LOG4J_CONFIG="$2"
shift
