Usage: hiltic [options] <inputs>
Options controlling code generation:
-c | --output-c++ Print out C++ code generated for module (for debugging; use -x to generate code for external compilation).
-d | --debug Include debug instrumentation into generated code.
-e | --output-all-dependencies Output list of dependencies for all compiled modules.
-g | --disable-optimizations Disable HILTI-side optimizations of the generated code.
-j | --jit-code Fully compile all code, and then execute it unless --output-to gives a file to store it
-l | --output-linker Print out only generated HILTI linker glue code (for debugging; use -x to generate code for external compilation).
-o | --output-to <path> Path for saving output.
-p | --output-hilti Just output parsed HILTI code again.
-v | --version Print version information.
-x | --output-c++-files <prefix> Output generated all C++ code into set of files for external compilation.
-A | --abort-on-exceptions When executing compiled code, abort() instead of throwing HILTI exceptions.
-B | --show-backtraces Include backtraces when reporting unhandled exceptions.
-C | --dump-code Dump all generated code to disk for debugging.
-D | --compiler-debug <streams> Activate compile-time debugging output for given debug streams (comma-separated; 'help' for list).
-E | --output-code-dependencies Output list of dependencies for all compiled modules that require separate compilation of their own.
-L | --library-path <path> Add path to list of directories to search when importing modules.
-P | --output-prototypes <prefix> Output C++ header with prototypes for public functionality.
-R | --report-times Report a break-down of compiler's execution time.
-S | --skip-dependencies Do not automatically compile dependencies during JIT.
-T | --keep-tmps Do not delete any temporary files created.
-V | --skip-validation Don't validate ASTs (for debugging only).
-X | --debug-addl <addl> Implies -d and adds selected additional instrumentation (comma-separated; see 'help' for list).
-Z | --enable-profiling Report profiling statistics after execution.
--cxx-link <lib> Link specified static archive or shared library during JIT or to produced HLTO file. Can be given multiple times.
--skip-standard-imports Do not automatically import standard library modules (for debugging only).
--strict-public-api Skip optimizations that change the public C++ API of generated code. [default in debug builds]
--no-strict-public-api Allow optimizations that change the public C++ API of generated code. [default in release builds]
Inputs can be .hlt, .cc/.cxx, *.hlto.
Options (26)
| Option | Description | Source |
|---|---|---|
-c, --output-c++ | Print out C++ code generated for module (for debugging; | help |
-d, --debug | Include debug instrumentation into generated code. | help |
-e, --output-all-dependencies | Output list of dependencies for all compiled modules. | help |
-g, --disable-optimizations | Disable HILTI-side optimizations of the generated code. | help |
-j, --jit-code | Fully compile all code, and then execute it unless --output-to gives a file to store it | help |
-l, --output-linker | Print out only generated HILTI linker glue code (for debugging; | help |
-o, --output-to path | Path for saving output. | help |
-p, --output-hilti | Just output parsed HILTI code again. | help |
-v, --version | Print version information. | help |
-x, --output-c++-files prefix | Output generated all C++ code into set of files for external compilation. | help |
-A, --abort-on-exceptions | When executing compiled code, abort() instead of throwing HILTI exceptions. | help |
-B, --show-backtraces | Include backtraces when reporting unhandled exceptions. | help |
-C, --dump-code | Dump all generated code to disk for debugging. | help |
-D, --compiler-debug streams | Activate compile-time debugging output for given debug streams (comma-separated; | help |
-E, --output-code-dependencies | Output list of dependencies for all compiled modules that require separate compilation of their own. | help |
-L, --library-path path | Add path to list of directories to search when importing modules. | help |
-R, --report-times | Report a break-down of compiler's execution time. | help |
-S, --skip-dependencies | Do not automatically compile dependencies during JIT. | help |
-T, --keep-tmps | Do not delete any temporary files created. | help |
-V, --skip-validation | Don't validate ASTs (for debugging only). | help |
-X, --debug-addl addl | Implies -d and adds selected additional instrumentation (comma-separated; | help |
-Z, --enable-profiling | Report profiling statistics after execution. | help |
--cxx-link lib | Link specified static archive or shared library during JIT or to produced HLTO file. | help |
--skip-standard-imports | Do not automatically import standard library modules (for debugging only). | help |
--strict-public-api | Skip optimizations that change the public C++ API of generated code. | help |
--no-strict-public-api | Allow optimizations that change the public C++ API of generated code. | help |