summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-30 18:18:25 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-30 18:18:25 -0700
commit44662c62f444fc50fe523d987199f6a10c9a693c (patch)
treeb52a68243ef283471c53d224fd3f0ae87f8c0d0f /README.txt
parentf2297c20b69d942fd1e8fdcdd8f4d142c71de662 (diff)
add support for passing through sizeof & alignofs
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt26
1 files changed, 18 insertions, 8 deletions
diff --git a/README.txt b/README.txt
index 2ffd02d..cdf7306 100644
--- a/README.txt
+++ b/README.txt
@@ -42,14 +42,24 @@ Selling points:
Known to be unsupported:
-- dietC is ... optimistic about identifier conflicts with its generated
- labels. It likely will not work if you run it on its own output. This is very
- fixable, will do soon.
-- chibicc does not have good support for long double; specifically, long
- doubles cannot be used in constant expressions. This is fixable, but requires
- non-trivial modifications to the chibicc side of the code.
-- chibicc does not parse const, volatile, etc. type qualifiers. it would not be
- too hard to support this if desired.
+ - dietC is ... optimistic about identifier conflicts with its generated
+ labels. It likely will not work if you run it on its own output. This is
+ very fixable, will do soon.
+ - chibicc does not have good support for long double; specifically, long
+ doubles cannot be used in constant expressions. This is fixable, but
+ requires non-trivial modifications to the chibicc side of the code.
+ - chibicc does not parse const, volatile, etc. type qualifiers. it would not
+ be too hard to support this if desired.
+
+Options:
+
+ - Passing "--line-numbers" enables (very WIP) support for outputting #line
+ directives. The dietcc wrapper will attempt to automatically strip those
+ before calling passes & then re-insert them, so that it all happens
+ "automagically." Of course, it doesn't really. You'll probably find that it
+ has roughly the right file, but totally wrong line.
+ - Passing "--type-builtins" will output "sizeof(Type_%d)" and
+ "alignof(Type_%d)" instead of pre-computing these operations.
Why not cilly?
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback