Add docstring to in_range() function residing in the lldb module.

llvm-svn: 140833
This commit is contained in:
Johnny Chen
2011-09-30 00:49:02 +00:00
parent 1887fce184
commit 97b5083cd6

View File

@@ -63,6 +63,7 @@ one_liner_docstring_pattern = re.compile('^(%s|%s)""".*"""$' % (TWO_SPACES, EIGH
#
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()