[NFC] fix a typo

This commit is contained in:
Shao-Ce SUN 2021-10-15 14:51:49 +08:00
parent 4fe5ab4b00
commit 7c704c0f53
3 changed files with 7 additions and 7 deletions

View File

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

View File

@ -207,7 +207,7 @@ class TargetAPITestCase(TestBase):
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 @@ class TargetAPITestCase(TestBase):
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 @@ class TargetAPITestCase(TestBase):
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 @@ class TargetAPITestCase(TestBase):
@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 @@ class TargetAPITestCase(TestBase):
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.

View File

@ -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);