mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
Add docstring to in_range() function residing in the lldb module.
llvm-svn: 140833
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user