[Lldb-commits] [lldb] r355566 - [Python] Unbreak the recently modified tests for python 2.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 6 15:50:36 PST 2019
Author: davide
Date: Wed Mar 6 15:50:36 2019
New Revision: 355566
URL: http://llvm.org/viewvc/llvm-project?rev=355566&view=rev
Log:
[Python] Unbreak the recently modified tests for python 2.
Modified:
lldb/trunk/examples/darwin/heap_find/heap.py
lldb/trunk/examples/python/crashlog.py
lldb/trunk/examples/python/symbolication.py
Modified: lldb/trunk/examples/darwin/heap_find/heap.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/darwin/heap_find/heap.py?rev=355566&r1=355565&r2=355566&view=diff
==============================================================================
--- lldb/trunk/examples/darwin/heap_find/heap.py (original)
+++ lldb/trunk/examples/darwin/heap_find/heap.py Wed Mar 6 15:50:36 2019
@@ -8,6 +8,7 @@
# (lldb) script import lldb.macosx.heap
#----------------------------------------------------------------------
+from __future__ import print_function
import lldb
import optparse
import os
Modified: lldb/trunk/examples/python/crashlog.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/crashlog.py?rev=355566&r1=355565&r2=355566&view=diff
==============================================================================
--- lldb/trunk/examples/python/crashlog.py (original)
+++ lldb/trunk/examples/python/crashlog.py Wed Mar 6 15:50:36 2019
@@ -26,6 +26,7 @@
# PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash
#----------------------------------------------------------------------
+from __future__ import print_function
import cmd
import datetime
import glob
Modified: lldb/trunk/examples/python/symbolication.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/symbolication.py?rev=355566&r1=355565&r2=355566&view=diff
==============================================================================
--- lldb/trunk/examples/python/symbolication.py (original)
+++ lldb/trunk/examples/python/symbolication.py Wed Mar 6 15:50:36 2019
@@ -26,6 +26,7 @@
# PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash
#----------------------------------------------------------------------
+from __future__ import print_function
import lldb
import optparse
import os
More information about the lldb-commits
mailing list