summaryrefslogtreecommitdiff
path: root/scripts/log_get_last_function.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/log_get_last_function.py')
-rw-r--r--scripts/log_get_last_function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/log_get_last_function.py b/scripts/log_get_last_function.py
index eb9f8e94..9e21d7cf 100644
--- a/scripts/log_get_last_function.py
+++ b/scripts/log_get_last_function.py
@@ -11,7 +11,7 @@ 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:
+ 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 found_fcn:
break
fcn_lines = []