![]() |
Spicy
|
#include <driver.h>
Public Attributes | |
bool | include_linker = false |
bool | output_hilti = false |
bool | output_prototypes = false |
bool | output_cxx = false |
std::string | output_cxx_prefix |
bool | output_linker = false |
Dependencies | output_dependencies = Dependencies::None |
bool | execute_code = false |
bool | show_backtraces = false |
bool | abort_on_exceptions = false |
bool | keep_tmps = false |
bool | skip_dependencies = false |
bool | report_resource_usage = false |
bool | report_times = false |
bool | dump_code = false |
bool | global_optimizations = true |
std::vector< hilti::rt::filesystem::path > | inputs |
hilti::rt::filesystem::path | output_path |
std::unique_ptr< Logger > | logger |
Options for the compiler driver
output_*
can be used at any time. bool hilti::driver::Options::abort_on_exceptions = false |
abort() instead of throwing HILTI exceptions
bool hilti::driver::Options::dump_code = false |
Record all final HILTI and C++ code to disk for debugging.
bool hilti::driver::Options::execute_code = false |
compile code, and execute unless output_path is set
bool hilti::driver::Options::global_optimizations = true |
whether to run global HILTI optimizations on the generated code.
bool hilti::driver::Options::include_linker = false |
if true, perform custom HILTI linker phase
std::vector<hilti::rt::filesystem::path> hilti::driver::Options::inputs |
files to compile; these will be automatically pulled in by Driver::run()
bool hilti::driver::Options::keep_tmps = false |
do not delete any temporary files created
std::unique_ptr<Logger> hilti::driver::Options::logger |
Logger
instances to use for diagnostics; set to a new logger by default by constructor
bool hilti::driver::Options::output_cxx = false |
output generated C++ code
std::string hilti::driver::Options::output_cxx_prefix |
when outputting generated C++ code, prefix each module name with this string
Dependencies hilti::driver::Options::output_dependencies = Dependencies::None |
output dependencies for compiled modules
bool hilti::driver::Options::output_hilti = false |
render HILTI inputs back into HILTI source code
bool hilti::driver::Options::output_linker = false |
output generated HILTI linker C++ code
hilti::rt::filesystem::path hilti::driver::Options::output_path |
file to store output in (default if empty is printing to stdout)
bool hilti::driver::Options::output_prototypes = false |
output C++ prototypes for generated code
bool hilti::driver::Options::report_resource_usage = false |
print summary of runtime resource usage at termination
bool hilti::driver::Options::report_times = false |
Report break-down of driver's execution time.
bool hilti::driver::Options::show_backtraces = false |
include backtraces when printing unhandled exceptions
bool hilti::driver::Options::skip_dependencies = false |
do not automatically compile dependencies during JIT