mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
-O gen-standalone-C++ fixes for recent more aggressive AST profiling
This commit is contained in:
parent
b547c7287d
commit
0a813a53c7
16 changed files with 188 additions and 104 deletions
|
@ -7,6 +7,14 @@
|
|||
// Main driver, invoked by constructor.
|
||||
void Compile(bool report_uncompilable);
|
||||
|
||||
// For a given function body, assess its compilability and track its elements.
|
||||
// Returns true if the body was analyzed, false if it was skipped. If skipped
|
||||
// then either generates a warning (if report_uncompilable is true) or
|
||||
// updates filenames_reported_as_skipped. Updates rep_types with the type
|
||||
// representatives seen in the function.
|
||||
bool AnalyzeFuncBody(FuncInfo& fi, std::unordered_set<std::string>& filenames_reported_as_skipped,
|
||||
std::unordered_set<const Type*>& rep_types, bool report_uncompilable);
|
||||
|
||||
// Generate the beginning of the compiled code: run-time functions,
|
||||
// namespace, auxiliary globals.
|
||||
void GenProlog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue