summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-06-30 10:44:18 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-06-30 10:44:18 +0800
commit5cc6c39bf0a91b12814975fa92124d17383446a1 (patch)
treee347dd098a299c31bb9304b6813a1d427b41c65c /scripts
parent68ebb7b7c58595fd2fe5089cfd05bdb5ea6ac6b6 (diff)
downloadmrust-5cc6c39bf0a91b12814975fa92124d17383446a1.tar.gz
scripts - Tweak to log_get_last_function
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 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 = []