diff options
Diffstat (limited to 'scripts/log_get_last_function.py')
-rw-r--r-- | scripts/log_get_last_function.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/log_get_last_function.py b/scripts/log_get_last_function.py index 9e21d7cf..3a54d9c5 100644 --- a/scripts/log_get_last_function.py +++ b/scripts/log_get_last_function.py @@ -11,7 +11,12 @@ def main(): fcn_lines = [] found_fcn = False for line in args.logfile: - if 'visit_function: ' in line or 'Trans_Monomorphise_List: ' in line or 'Trans_Codegen: FUNCTION CODE' in line or 'Trans_Codegen- emit_' in line: + if 'visit_function: ' in line \ + or 'evaluate_constant: ' in line \ + or 'Trans_Monomorphise_List: ' in line \ + or 'Trans_Codegen: FUNCTION CODE' in line \ + or 'Trans_Codegen- emit_' in line \ + : if found_fcn: break fcn_lines = [] |