cleanup comments in sym_check

llvm-svn: 233364
This commit is contained in:
Eric Fiselier 2015-03-27 06:04:37 +00:00
parent 7041fb1c13
commit e6bcc4252e

View File

@ -16,7 +16,7 @@ class NMExtractor(object):
@staticmethod
def find_tool():
"""
Search for the nm executable and return the path and type.
Search for the nm executable and return the path.
"""
return distutils.spawn.find_executable('nm')
@ -93,20 +93,20 @@ class NMExtractor(object):
class ReadElfExtractor(object):
"""
NMExtractor - Extract symbol lists from libraries using nm.
ReadElfExtractor - Extract symbol lists from libraries using readelf.
"""
@staticmethod
def find_tool():
"""
Search for the nm executable and return the path and type.
Search for the readelf executable and return the path.
"""
return distutils.spawn.find_executable('readelf')
def __init__(self):
"""
Initialize the nm executable and flags that will be used to extract
symbols from shared libraries.
Initialize the readelf executable and flags that will be used to
extract symbols from shared libraries.
"""
self.tool = self.find_tool()
if self.tool is None: