summaryrefslogtreecommitdiff
path: root/c/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'c/README.txt')
-rw-r--r--c/README.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/c/README.txt b/c/README.txt
new file mode 100644
index 0000000..50450aa
--- /dev/null
+++ b/c/README.txt
@@ -0,0 +1,18 @@
+C library for building dietcc passes
+
+Example of using a pass:
+
+ The examples/zero_init pass zero-initializes all local variables.
+
+ $ which dietcc
+ [make sure it's on your path!]
+ $ cd examples/zero_init
+ $ make -B
+ $ ./default
+ Foo return value: 0
+ Foo return value: 32765
+ Foo return value: 32765
+ $ ./instrumented
+ Foo return value: 0
+ Foo return value: 0
+ Foo return value: 0
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback