mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
hooks for activating the compiler & associated BiF
This commit is contained in:
parent
863be9436b
commit
24e92fa54a
9 changed files with 337 additions and 6 deletions
|
@ -39,6 +39,34 @@ struct AnalyOpt {
|
|||
// If true, do global inlining.
|
||||
bool inliner = false;
|
||||
|
||||
// If true, generate C++;
|
||||
bool gen_CPP = false;
|
||||
|
||||
// If true, the C++ should be standalone (not require the presence
|
||||
// of the corresponding script, and not activated by default).
|
||||
bool gen_standalone_CPP = false;
|
||||
|
||||
// If true, generate C++ for those script bodies that don't already
|
||||
// have generated code, in a form that enables later compiles to
|
||||
// take advantage of the newly-added elements. Only use for generating
|
||||
// a zeek that will always include the associated scripts.
|
||||
bool update_CPP = false;
|
||||
|
||||
// If true, generate C++ for those script bodies that don't already
|
||||
// have generated code. The added C++ is not made available for
|
||||
// later generated code, and will work for a generated zeek that
|
||||
// runs without including the associated scripts.
|
||||
bool add_CPP = false;
|
||||
|
||||
// If true, use C++ bodies if available.
|
||||
bool use_CPP = false;
|
||||
|
||||
// Same, but complain about missing bodies.
|
||||
bool force_use_CPP = false;
|
||||
|
||||
// If true, report on available C++ bodies.
|
||||
bool report_CPP = false;
|
||||
|
||||
// If true, report which functions are directly and indirectly
|
||||
// recursive, and exit. Only germane if running the inliner.
|
||||
bool report_recursive = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue