ref: 90c51e292f87d9df082f074f1b90d38d0af3eb10
parent: 9bcde4d6e90488b0808f599d80715cfebc70fb9a
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Mar 9 05:19:27 EDT 2015
Improve usage message. Mention what the debug options are, and improve the formatting on them.
--- a/6/main.c
+++ b/6/main.c
@@ -41,12 +41,13 @@
printf("\t-d\tPrint debug dumps. Recognized options: f r p i\n");
printf("\t-G\tGenerate asm in gas syntax\n");
printf("\t-8\tGenerate asm in plan 9 syntax\n");
- printf("\t\t\tf: log folded trees\n");
- printf("\t\t\tl: log lowered pre-cfg trees\n");
- printf("\t\t\tT: log tree immediately\n");
- printf("\t\t\tr: log register allocation activity\n");
- printf("\t\t\ti: log instruction selection activity\n");
- printf("\t\t\tu: log type unifications\n");
+ printf("\t-d opts: additional debug logging. Options are listed below:\n");
+ printf("\t\tf: log folded trees\n");
+ printf("\t\tl: log lowered pre-cfg trees\n");
+ printf("\t\tT: log tree immediately\n");
+ printf("\t\tr: log register allocation activity\n");
+ printf("\t\ti: log instruction selection activity\n");
+ printf("\t\tu: log type unifications\n");
}
static void swapout(char* buf, size_t sz, char* suf) {