summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/compile-custom.ll.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2019-01-03 14:11:33 +0000
committerSerge Guelton <sguelton@quarkslab.com>2019-01-03 14:11:33 +0000
commit4a27478a5b8bd9f13fef65e66b291a352c532371 (patch)
treea086542fe11fba6d8779ca2fa96036d80af04312 /llvm/test/BugPoint/compile-custom.ll.py
parent41f98c834bc62a605ec51032482369cfa128d711 (diff)
downloadbcm5719-llvm-4a27478a5b8bd9f13fef65e66b291a352c532371.tar.gz
bcm5719-llvm-4a27478a5b8bd9f13fef65e66b291a352c532371.zip
Python compat - print statement
Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 llvm-svn: 350307
Diffstat (limited to 'llvm/test/BugPoint/compile-custom.ll.py')
-rwxr-xr-xllvm/test/BugPoint/compile-custom.ll.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/BugPoint/compile-custom.ll.py b/llvm/test/BugPoint/compile-custom.ll.py
index 4b9b30caadc..b0062ac0b74 100755
--- a/llvm/test/BugPoint/compile-custom.ll.py
+++ b/llvm/test/BugPoint/compile-custom.ll.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
+from __future__ import print_function
+
import sys
# Currently any print-out from the custom tool is interpreted as a crash
OpenPOWER on IntegriCloud