Переглянути джерело

cleanup comments in sym_check

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@233364 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 10 роки тому
батько
коміт
28cf403441
1 змінених файлів з 5 додано та 5 видалено
  1. 5 5
      utils/sym_check/sym_check/extract.py

+ 5 - 5
utils/sym_check/sym_check/extract.py

@@ -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: