[Lldb-commits] [lldb] r140833 - /lldb/trunk/scripts/Python/modify-python-lldb.py
Johnny Chen
johnny.chen at apple.com
Thu Sep 29 17:49:02 PDT 2011
Author: johnny
Date: Thu Sep 29 19:49:02 2011
New Revision: 140833
URL: http://llvm.org/viewvc/llvm-project?rev=140833&view=rev
Log:
Add docstring to in_range() function residing in the lldb module.
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=140833&r1=140832&r2=140833&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modify-python-lldb.py (original)
+++ lldb/trunk/scripts/Python/modify-python-lldb.py Thu Sep 29 19:49:02 2011
@@ -63,6 +63,7 @@
#
lldb_helpers = '''
def in_range(symbol, section):
+ """Test whether a symbol is within the range of a section."""
symSA = symbol.GetStartAddress().GetFileAddress()
symEA = symbol.GetEndAddress().GetFileAddress()
secSA = section.GetFileAddress()
More information about the lldb-commits
mailing list