summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-05-15 20:36:11 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-05-15 20:36:11 +0800
commit894950e87dc8c7631fe38cdfe47170ce1f94c062 (patch)
tree6f558fb994484de0eeb1aea205cedf3cd797830d /scripts
parent311b406bf90a8244a39a8eff933c7fce45b9c7f2 (diff)
downloadmrust-894950e87dc8c7631fe38cdfe47170ce1f94c062.tar.gz
Scripts - Extend log_get_last_function with more start-of-function signatures
Diffstat (limited to 'scripts')
-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 7a148639..eb9f8e94 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:
+ if 'visit_function: ' in line or 'Trans_Monomorphise_List: ' in line or 'Trans_Codegen: FUNCTION CODE' in line:
if found_fcn:
break
fcn_lines = []