Skip to content

Commit 7c704c0

Browse files
author
Shao-Ce SUN
committed
[NFC] fix a typo
1 parent 4fe5ab4 commit 7c704c0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lldb/bindings/interface/SBSymbolContextList.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace lldb {
1414
For example (from test/python_api/target/TestTargetAPI.py), ::
1515
1616
def find_functions(self, exe_name):
17-
'''Exercise SBTaget.FindFunctions() API.'''
17+
'''Exercise SBTarget.FindFunctions() API.'''
1818
exe = os.path.join(os.getcwd(), exe_name)
1919
2020
# Create a target by the debugger.

lldb/test/API/python_api/target/TestTargetAPI.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def find_data_section(self, target):
207207
return data_section
208208

209209
def find_global_variables(self, exe_name):
210-
"""Exercise SBTaget.FindGlobalVariables() API."""
210+
"""Exercise SBTarget.FindGlobalVariables() API."""
211211
exe = self.getBuildArtifact(exe_name)
212212

213213
# Create a target by the debugger.
@@ -272,7 +272,7 @@ def find_compile_units(self, exe):
272272
list[0].GetCompileUnit().GetFileSpec().GetFilename(), source_name)
273273

274274
def find_functions(self, exe_name):
275-
"""Exercise SBTaget.FindFunctions() API."""
275+
"""Exercise SBTarget.FindFunctions() API."""
276276
exe = self.getBuildArtifact(exe_name)
277277

278278
# Create a target by the debugger.
@@ -292,7 +292,7 @@ def find_functions(self, exe_name):
292292
self.assertEqual(sc.GetSymbol().GetName(), 'c')
293293

294294
def get_description(self):
295-
"""Exercise SBTaget.GetDescription() API."""
295+
"""Exercise SBTarget.GetDescription() API."""
296296
exe = self.getBuildArtifact("a.out")
297297

298298
# Create a target by the debugger.
@@ -321,7 +321,7 @@ def get_description(self):
321321
@skipIfRemote
322322
@no_debug_info_test
323323
def test_launch_new_process_and_redirect_stdout(self):
324-
"""Exercise SBTaget.Launch() API with redirected stdout."""
324+
"""Exercise SBTarget.Launch() API with redirected stdout."""
325325
self.build()
326326
exe = self.getBuildArtifact("a.out")
327327

@@ -380,7 +380,7 @@ def test_launch_new_process_and_redirect_stdout(self):
380380
substrs=["a(1)", "b(2)", "a(3)"])
381381

382382
def resolve_symbol_context_with_address(self):
383-
"""Exercise SBTaget.ResolveSymbolContextForAddress() API."""
383+
"""Exercise SBTarget.ResolveSymbolContextForAddress() API."""
384384
exe = self.getBuildArtifact("a.out")
385385

386386
# Create a target by the debugger.

llvm/tools/llvm-mca/CodeRegionGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Expected<const CodeRegions &> AsmCodeRegionGenerator::parseCodeRegions(
114114

115115
// Need to initialize an MCTargetStreamer otherwise
116116
// certain asm directives will cause a segfault.
117-
// Using nulls() so that anything emitted by the MCTagetStreamer
117+
// Using nulls() so that anything emitted by the MCTargetStreamer
118118
// doesn't show up in the llvm-mca output.
119119
raw_ostream &OSRef = nulls();
120120
formatted_raw_ostream FOSRef(OSRef);

0 commit comments

Comments
 (0)