Skip to content
UNDER THE HOOD

tools/weavec-cc

weavec-cc is the drop-in compiler: CC=weavec-cc make. Its own flags, which weavec-cc --help-weavec lists, are -f[no-]weavec, -fweavec-checks=trap|report|verify|none, -f[no-]weavec-zero-init, -fweavec-ledger=<path>, -f[no-]weavec-summary and -f[no-]weavec-asan-compat; an unknown -fweavec-* flag is an error, and everything else is Clang’s. When WeaveC is on, the driver defines __WEAVEC__=1 and adds weavec.h’s directory with -isystem. --version prints Clang’s version block, then weavec-cc version …. The command line is that of RFC 0035 §7 as RFC 0036 §7 amends it.