[Lldb-commits] [lldb] r141033 - /lldb/trunk/scripts/Python/modify-python-lldb.py
Johnny Chen
johnny.chen at apple.com
Mon Oct 3 14:48:41 PDT 2011
Author: johnny
Date: Mon Oct 3 16:48:40 2011
New Revision: 141033
URL: http://llvm.org/viewvc/llvm-project?rev=141033&view=rev
Log:
Add comment markers for in_range(symbol, section).
Modified:
lldb/trunk/scripts/Python/modify-python-lldb.py
Modified: lldb/trunk/scripts/Python/modify-python-lldb.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modify-python-lldb.py?rev=141033&r1=141032&r2=141033&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modify-python-lldb.py (original)
+++ lldb/trunk/scripts/Python/modify-python-lldb.py Mon Oct 3 16:48:40 2011
@@ -62,6 +62,9 @@
# lldb_helpers and lldb_iter() should appear before our first SB* class definition.
#
lldb_helpers = '''
+# ==================================
+# Helper function for SBModule class
+# ==================================
def in_range(symbol, section):
"""Test whether a symbol is within the range of a section."""
symSA = symbol.GetStartAddress().GetFileAddress()
More information about the lldb-commits
mailing list