GabrielRavier created this revision.
Herald added a project: All.
GabrielRavier requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
I went over the output of the following mess of a command:
`(ulimit -m 200; ulimit -v 200; git ls-files -z | parallel --xargs -0
cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort
| uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' '
-f2 | less)`
and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131122
Files:
lldb/bindings/interface/SBProcess.i
lldb/bindings/interface/SBType.i
lldb/docs/use/python-reference.rst
lldb/examples/python/armv7_cortex_m_target_defintion.py
lldb/examples/python/lldb_module_utils.py
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Core/Mangled.h
lldb/include/lldb/Symbol/Type.h
lldb/packages/Python/lldbsuite/test/lldbbench.py
lldb/source/Core/DynamicLoader.cpp
lldb/source/Core/IOHandlerCursesGUI.cpp
lldb/source/Expression/DWARFExpression.cpp
lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
lldb/source/Plugins/Process/scripted/ScriptedThread.cpp
lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
lldb/source/Symbol/Type.cpp
lldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/main.cpp
lldb/test/API/functionalities/breakpoint/debugbreak/TestDebugBreak.py
lldb/test/API/functionalities/load_unload/TestLoadUnload.py
lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
lldb/test/API/functionalities/module_cache/bsd/TestModuleCacheBSD.py
lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py
lldb/test/API/functionalities/module_cache/universal/TestModuleCacheUniversal.py
lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
lldb/test/API/functionalities/postmortem/minidump-new/makefile.txt
lldb/tools/debugserver/source/DNBTimer.h
lldb/tools/debugserver/source/JSON.h
lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
lldb/unittests/Utility/UUIDTest.cpp
Index: lldb/unittests/Utility/UUIDTest.cpp
===
--- lldb/unittests/Utility/UUIDTest.cpp
+++ lldb/unittests/Utility/UUIDTest.cpp
@@ -83,7 +83,7 @@
EXPECT_FALSE(u.SetFromStringRef("4"));
}
-TEST(UUIDTest, StringConverion) {
+TEST(UUIDTest, StringConversion) {
EXPECT_EQ("40414243", UUID::fromData("@ABC", 4).GetAsString());
EXPECT_EQ("40414243-4445-4647", UUID::fromData("@ABCDEFG", 8).GetAsString());
EXPECT_EQ("40414243-4445-4647-4849-4A4B",
Index: lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
===
--- lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
+++ lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
@@ -129,7 +129,7 @@
return true;
});
-// Collect all the Activites
+// Collect all the Activities
m_os_activity_iterate_activities(
process_info->activities, process_info,
^bool(os_activity_entry_t activity) {
Index: lldb/tools/debugserver/source/JSON.h
===
--- lldb/tools/debugserver/source/JSON.h
+++ lldb/tools/debugserver/source/JSON.h
@@ -71,7 +71,7 @@
public:
typedef std::shared_ptr SP;
- // We cretae a constructor for all integer and floating point type with using
+ // We create a constructor for all integer and floating point type with using
// templates and
// SFINAE to avoid having ambiguous overloads because of the implicit type
// promotion. If we
Index: lldb/tools/debugserver/source/DNBTimer.h
===
--- lldb/tools/debugserver/source/DNBTimer.h
+++ lldb/tools/debugserver/source/DNBTimer.h
@@ -53,7 +53,7 @@
PTHREAD_MUTEX_LOCKER(locker, m_mutexAP.get());
gettimeofday(&m_timeval, NULL);
}
- // Get the total mircoseconds since Jan 1, 1970
+ // Get the total microseconds since Jan 1, 1970
uint64_t TotalMicroSeconds() const {
PTHREAD_MUTEX_LOCKER(locker, m_mutexAP.get());
return (uint64_t)(m_timeval.tv_sec) * 100ull +
Index: lldb/test/API/functionalities/p