qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 58e0505068d8d4decf9db2f96cb94743002b97c9
parent 890e85c8d1badedf4922260d369ba629fd4327ff
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 21 Mar 2016 13:44:22 -0400

compile tests with debug options

Diffstat:
Mlisc/tools/abitest.sh | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/lisc/tools/abitest.sh b/lisc/tools/abitest.sh @@ -16,8 +16,14 @@ then fi $OCAML tools/abi.ml $TMP c ssa - ./$QBE -o $TMP/callee.s $TMP/callee.ssa || failure "qbe" - c99 -o $TMP/abitest $TMP/caller.c $TMP/callee.s || failure "cc + linking" - $TMP/abitest || failure "runtime" + + ./$QBE -o $TMP/callee.s $TMP/callee.ssa + || failure "qbe" + + c99 -g -o $TMP/abitest $TMP/caller.c $TMP/callee.s + || failure "cc + linking" + + $TMP/abitest + || failure "runtime" rm -fr $TMP