[Lldb-commits] [lldb] 7c704c0 - [NFC] fix a typo

Shao-Ce SUN via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 14 23:52:03 PDT 2021


Author: Shao-Ce SUN
Date: 2021-10-15T14:51:49+08:00
New Revision: 7c704c0f53bd7f785ec99fc6bedd71569816a28c

URL: https://github.com/llvm/llvm-project/commit/7c704c0f53bd7f785ec99fc6bedd71569816a28c
DIFF: https://github.com/llvm/llvm-project/commit/7c704c0f53bd7f785ec99fc6bedd71569816a28c.diff

LOG: [NFC] fix a typo

Added: 
    

Modified: 
    lldb/bindings/interface/SBSymbolContextList.i
    lldb/test/API/python_api/target/TestTargetAPI.py
    llvm/tools/llvm-mca/CodeRegionGenerator.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/bindings/interface/SBSymbolContextList.i b/lldb/bindings/interface/SBSymbolContextList.i
index e9d4aa8d62db..14566b3e3720 100644
--- a/lldb/bindings/interface/SBSymbolContextList.i
+++ b/lldb/bindings/interface/SBSymbolContextList.i
@@ -14,7 +14,7 @@ namespace lldb {
 For example (from test/python_api/target/TestTargetAPI.py), ::
 
     def find_functions(self, exe_name):
-        '''Exercise SBTaget.FindFunctions() API.'''
+        '''Exercise SBTarget.FindFunctions() API.'''
         exe = os.path.join(os.getcwd(), exe_name)
 
         # Create a target by the debugger.

diff  --git a/lldb/test/API/python_api/target/TestTargetAPI.py b/lldb/test/API/python_api/target/TestTargetAPI.py
index 29e368224e81..0503aa8e4369 100644
--- a/lldb/test/API/python_api/target/TestTargetAPI.py
+++ b/lldb/test/API/python_api/target/TestTargetAPI.py
@@ -207,7 +207,7 @@ def find_data_section(self, target):
         return data_section
 
     def find_global_variables(self, exe_name):
-        """Exercise SBTaget.FindGlobalVariables() API."""
+        """Exercise SBTarget.FindGlobalVariables() API."""
         exe = self.getBuildArtifact(exe_name)
 
         # Create a target by the debugger.
@@ -272,7 +272,7 @@ def find_compile_units(self, exe):
             list[0].GetCompileUnit().GetFileSpec().GetFilename(), source_name)
 
     def find_functions(self, exe_name):
-        """Exercise SBTaget.FindFunctions() API."""
+        """Exercise SBTarget.FindFunctions() API."""
         exe = self.getBuildArtifact(exe_name)
 
         # Create a target by the debugger.
@@ -292,7 +292,7 @@ def find_functions(self, exe_name):
             self.assertEqual(sc.GetSymbol().GetName(), 'c')
 
     def get_description(self):
-        """Exercise SBTaget.GetDescription() API."""
+        """Exercise SBTarget.GetDescription() API."""
         exe = self.getBuildArtifact("a.out")
 
         # Create a target by the debugger.
@@ -321,7 +321,7 @@ def get_description(self):
     @skipIfRemote
     @no_debug_info_test
     def test_launch_new_process_and_redirect_stdout(self):
-        """Exercise SBTaget.Launch() API with redirected stdout."""
+        """Exercise SBTarget.Launch() API with redirected stdout."""
         self.build()
         exe = self.getBuildArtifact("a.out")
 
@@ -380,7 +380,7 @@ def test_launch_new_process_and_redirect_stdout(self):
                     substrs=["a(1)", "b(2)", "a(3)"])
 
     def resolve_symbol_context_with_address(self):
-        """Exercise SBTaget.ResolveSymbolContextForAddress() API."""
+        """Exercise SBTarget.ResolveSymbolContextForAddress() API."""
         exe = self.getBuildArtifact("a.out")
 
         # Create a target by the debugger.

diff  --git a/llvm/tools/llvm-mca/CodeRegionGenerator.cpp b/llvm/tools/llvm-mca/CodeRegionGenerator.cpp
index 6ad2a65592b9..6cdd0ba797aa 100644
--- a/llvm/tools/llvm-mca/CodeRegionGenerator.cpp
+++ b/llvm/tools/llvm-mca/CodeRegionGenerator.cpp
@@ -114,7 +114,7 @@ Expected<const CodeRegions &> AsmCodeRegionGenerator::parseCodeRegions(
 
   // Need to initialize an MCTargetStreamer otherwise
   // certain asm directives will cause a segfault.
-  // Using nulls() so that anything emitted by the MCTagetStreamer
+  // Using nulls() so that anything emitted by the MCTargetStreamer
   // doesn't show up in the llvm-mca output.
   raw_ostream &OSRef = nulls();
   formatted_raw_ostream FOSRef(OSRef);


        


More information about the lldb-commits mailing list