diff --git a/lldb/bindings/interface/SBBlock.i b/lldb/bindings/interface/SBBlock.i --- a/lldb/bindings/interface/SBBlock.i +++ b/lldb/bindings/interface/SBBlock.i @@ -152,7 +152,7 @@ sibling = property(GetSibling, None, doc='''A read only property that returns the same result as GetSibling().''') name = property(GetInlinedName, None, doc='''A read only property that returns the same result as GetInlinedName().''') inlined_block = property(GetContainingInlinedBlock, None, doc='''A read only property that returns the same result as GetContainingInlinedBlock().''') - range = property(get_ranges_access_object, None, doc='''A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAdddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]").''') + range = property(get_ranges_access_object, None, doc='''A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]").''') ranges = property(get_ranges_array, None, doc='''A read only property that returns a list() object that contains all of the address ranges for the block.''') num_ranges = property(GetNumRanges, None, doc='''A read only property that returns the same result as GetNumRanges().''') %} diff --git a/lldb/bindings/interface/SBExpressionOptions.i b/lldb/bindings/interface/SBExpressionOptions.i --- a/lldb/bindings/interface/SBExpressionOptions.i +++ b/lldb/bindings/interface/SBExpressionOptions.i @@ -59,7 +59,7 @@ uint32_t GetTimeoutInMicroSeconds () const; - %feature("docstring", "Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expresson will finish.") SetTimeoutInMicroSeconds; + %feature("docstring", "Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expression will finish.") SetTimeoutInMicroSeconds; void SetTimeoutInMicroSeconds (uint32_t timeout = 0); @@ -80,7 +80,7 @@ bool GetStopOthers () const; - %feature("docstring", "Sets whether to stop other threads at all while running expressins. If false, TryAllThreads does nothing.") SetTryAllThreads; + %feature("docstring", "Sets whether to stop other threads at all while running expressions. If false, TryAllThreads does nothing.") SetTryAllThreads; void SetStopOthers (bool stop_others = true); diff --git a/lldb/bindings/interface/SBFile.i b/lldb/bindings/interface/SBFile.i --- a/lldb/bindings/interface/SBFile.i +++ b/lldb/bindings/interface/SBFile.i @@ -92,7 +92,7 @@ SBFile, call SBFile.Close(). If there is no underlying python file to unwrap, GetFile will - use the file descriptor, if availble to create a new python + use the file descriptor, if available to create a new python file object using `open(fd, mode=..., closefd=False)` "); FileSP GetFile(); diff --git a/lldb/docs/lldb-platform-packets.txt b/lldb/docs/lldb-platform-packets.txt --- a/lldb/docs/lldb-platform-packets.txt +++ b/lldb/docs/lldb-platform-packets.txt @@ -351,7 +351,7 @@ // response is F followed by the opened file descriptor in base 10. // "F-1,errno" with the errno if an error occurs. // -// COMPATABILITY +// COMPATIBILITY // The gdb-remote serial protocol documentatio defines a vFile:open: // packet which uses incompatible flag values, e.g. 1 means O_WRONLY // in gdb's vFile:open:, but it means eOpenOptionRead to lldb's diff --git a/lldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp b/lldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp --- a/lldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp +++ b/lldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp @@ -147,7 +147,7 @@ // FDEvent // -// A class that describes a file desciptor event. +// A class that describes a file descriptor event. // // File descriptor events fall into one of two categories: create events // and delete events. @@ -185,7 +185,7 @@ // The frames for the stack backtrace for this event Frames m_frames; // If this is a file descriptor delete event, this might contain - // the correspoding file descriptor create event + // the corresponding file descriptor create event FDEventSP m_create_event_sp; // The file descriptor for this event int m_fd; @@ -232,18 +232,18 @@ // event is detected, the open event will be removed and placed into // the close event so if something tries to double close a file // descriptor we can show the previous close event and the file -// desctiptor event that created it. When a new file descriptor create +// descriptor event that created it. When a new file descriptor create // event comes in, we will remove the previous one for that file -// desctiptor unless the environment variable +// descriptor unless the environment variable // "FileDescriptorStackLoggingNoCompact" -// is set. The file desctiptor history can be accessed using the +// is set. The file descriptor history can be accessed using the // get_fd_history() function. static FDEventMap g_fd_event_map; // A mutex to protect access to our data structures in g_fd_event_map // and also our logging messages static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; // Log all file descriptor create and close events by default. Only log -// warnings and erros if the "FileDescriptorMinimalLogging" environment +// warnings and errors if the "FileDescriptorMinimalLogging" environment // variable is set. static int g_log_all_calls = 1; // We compact the file descriptor events by default. Set the environment @@ -498,7 +498,7 @@ fd); } else if (g_compact) { // We are compacting so we remove previous create event - // when we get the correspinding delete event + // when we get the corresponding delete event event_array.pop_back(); } } else { @@ -518,7 +518,7 @@ // that this close if for... fd_event_sp->SetCreateEvent(event_array.back()); // We are compacting so we remove previous create event - // when we get the correspinding delete event + // when we get the corresponding delete event event_array.pop_back(); } } diff --git a/lldb/examples/python/mach_o.py b/lldb/examples/python/mach_o.py --- a/lldb/examples/python/mach_o.py +++ b/lldb/examples/python/mach_o.py @@ -965,7 +965,7 @@ result = False print('error: section %s is missing in %s' % (lhs_section.sectname, rhs.path)) else: - print('error: comaparing a %s mach-o file with a %s mach-o file is not supported' % (self.type, rhs.type)) + print('error: comparing a %s mach-o file with a %s mach-o file is not supported' % (self.type, rhs.type)) result = False if not result: print('error: mach files differ') diff --git a/lldb/include/lldb/Symbol/LineEntry.h b/lldb/include/lldb/Symbol/LineEntry.h --- a/lldb/include/lldb/Symbol/LineEntry.h +++ b/lldb/include/lldb/Symbol/LineEntry.h @@ -118,7 +118,7 @@ /// range. /// /// If the initial LineEntry this method is called on is a line #0, only the - /// range of contiuous LineEntries with line #0 will be included in the + /// range of continuous LineEntries with line #0 will be included in the /// complete range. /// /// @param[in] include_inlined_functions diff --git a/lldb/include/lldb/Symbol/SymbolFile.h b/lldb/include/lldb/Symbol/SymbolFile.h --- a/lldb/include/lldb/Symbol/SymbolFile.h +++ b/lldb/include/lldb/Symbol/SymbolFile.h @@ -182,7 +182,7 @@ }; /// If \c type_uid points to an array type, return its characteristics. /// To support variable-length array types, this function takes an - /// optional \p ExtecutionContext. If \c exe_ctx is non-null, the + /// optional \p ExecutionContext. If \c exe_ctx is non-null, the /// dynamic characteristics for that context are returned. virtual llvm::Optional GetDynamicArrayInfoForUID(lldb::user_id_t type_uid, diff --git a/lldb/include/lldb/Target/Platform.h b/lldb/include/lldb/Target/Platform.h --- a/lldb/include/lldb/Target/Platform.h +++ b/lldb/include/lldb/Target/Platform.h @@ -827,18 +827,18 @@ virtual size_t ConnectToWaitingProcesses(lldb_private::Debugger &debugger, lldb_private::Status &error); - /// Gather all of crash informations into a structured data dictionnary. + /// Gather all of crash informations into a structured data dictionary. /// /// If the platform have a crashed process with crash information entries, - /// gather all the entries into an structured data dictionnary or return a - /// nullptr. This dictionnary is generic and extensible, as it contains an + /// gather all the entries into an structured data dictionary or return a + /// nullptr. This dictionary is generic and extensible, as it contains an /// array for each different type of crash information. /// /// \param[in] process /// The crashed process. /// /// \return - /// A structured data dictionnary containing at each entry, the crash + /// A structured data dictionary containing at each entry, the crash /// information type as the entry key and the matching an array as the /// entry value. \b nullptr if not implemented or if the process has no /// crash information entry. \b error if an error occured. diff --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h --- a/lldb/include/lldb/Target/Process.h +++ b/lldb/include/lldb/Target/Process.h @@ -2922,7 +2922,7 @@ DISALLOW_COPY_AND_ASSIGN(Process); }; -/// RAII guard that should be aquired when an utility function is called within +/// RAII guard that should be acquired when an utility function is called within /// a given process. class UtilityFunctionScope { Process *m_process; diff --git a/lldb/include/lldb/Target/Target.h b/lldb/include/lldb/Target/Target.h --- a/lldb/include/lldb/Target/Target.h +++ b/lldb/include/lldb/Target/Target.h @@ -963,7 +963,7 @@ /// /// \param[in] set_platform /// If \b true, then the platform will be adjusted if the currently - /// selected platform is not compatible with the archicture being set. + /// selected platform is not compatible with the architecture being set. /// If \b false, then just the architecture will be set even if the /// currently selected platform isn't compatible (in case it might be /// manually set following this function call). diff --git a/lldb/include/lldb/Target/ThreadPlan.h b/lldb/include/lldb/Target/ThreadPlan.h --- a/lldb/include/lldb/Target/ThreadPlan.h +++ b/lldb/include/lldb/Target/ThreadPlan.h @@ -251,7 +251,7 @@ // However, if the plan doesn't want to be // the stop reason, then it can call SetPlanComplete and pass in "false" for // the "success" parameter. In that case, -// the real stop reason will be used instead. One exapmle of this is the +// the real stop reason will be used instead. One example of this is the // "StepRangeStepIn" thread plan. If it stops // because of a crash or breakpoint hit, it wants to unship itself, because it // isn't so useful to have step in keep going diff --git a/lldb/include/lldb/Utility/Connection.h b/lldb/include/lldb/Utility/Connection.h --- a/lldb/include/lldb/Utility/Connection.h +++ b/lldb/include/lldb/Utility/Connection.h @@ -125,7 +125,7 @@ /// Subclasses must override this function. /// /// \param[in] dst - /// A desination buffer that must be at least \a dst_len bytes + /// A destination buffer that must be at least \a dst_len bytes /// long. /// /// \param[in] dst_len diff --git a/lldb/include/lldb/Utility/Reproducer.h b/lldb/include/lldb/Utility/Reproducer.h --- a/lldb/include/lldb/Utility/Reproducer.h +++ b/lldb/include/lldb/Utility/Reproducer.h @@ -134,7 +134,7 @@ static char ID; }; -/// Provider for the LLDB current working directroy. +/// Provider for the LLDB current working directory. /// /// When the reproducer is kept, it writes lldb's current working directory to /// a file named cwd.txt in the reproducer root. diff --git a/lldb/include/lldb/Utility/Status.h b/lldb/include/lldb/Utility/Status.h --- a/lldb/include/lldb/Utility/Status.h +++ b/lldb/include/lldb/Utility/Status.h @@ -111,7 +111,7 @@ /// Set accessor from a kern_return_t. /// - /// Set accesssor for the error value to \a err and the error type to \c + /// Set accessor for the error value to \a err and the error type to \c /// MachKernel. /// /// \param[in] err @@ -123,9 +123,9 @@ int SetExpressionErrorWithFormat(lldb::ExpressionResults, const char *format, ...) __attribute__((format(printf, 3, 4))); - /// Set accesssor with an error value and type. + /// Set accessor with an error value and type. /// - /// Set accesssor for the error value to \a err and the error type to \a + /// Set accessor for the error value to \a err and the error type to \a /// type. /// /// \param[in] err diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -642,7 +642,7 @@ lldb.remote_platform.SetWorkingDirectory(remote_test_dir) # This function removes all files from the current working directory while leaving - # the directories in place. The cleaup is required to reduce the disk space required + # the directories in place. The cleanup is required to reduce the disk space required # by the test suite while leaving the directories untouched is neccessary because # sub-directories might belong to an other test def clean_working_directory(): @@ -942,12 +942,12 @@ # ======================================================================= def setTearDownCleanup(self, dictionary=None): - """Register a cleanup action at tearDown() time with a dictinary""" + """Register a cleanup action at tearDown() time with a dictionary""" self.dict = dictionary self.doTearDownCleanup = True def addTearDownCleanup(self, dictionary): - """Add a cleanup action at tearDown() time with a dictinary""" + """Add a cleanup action at tearDown() time with a dictionary""" self.dicts.append(dictionary) self.doTearDownCleanups = True @@ -1152,7 +1152,7 @@ # We are here because self.tearDown() detected that this test instance # either errored or failed. The lldb.test_result singleton contains - # two lists (erros and failures) which get populated by the unittest + # two lists (errors and failures) which get populated by the unittest # framework. Look over there for stack trace information. # # The lists contain 2-tuples of TestCase instances and strings holding diff --git a/lldb/packages/Python/lldbsuite/test/test_runner/README.txt b/lldb/packages/Python/lldbsuite/test/test_runner/README.txt --- a/lldb/packages/Python/lldbsuite/test/test_runner/README.txt +++ b/lldb/packages/Python/lldbsuite/test/test_runner/README.txt @@ -1,5 +1,5 @@ This directory contains source and tests for the lldb test runner architecture. This directory is not for lldb python tests. It -is the test runner. The tests under this diretory are test-runner +is the test runner. The tests under this directory are test-runner tests (i.e. tests that verify the test runner itself runs properly). diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py @@ -161,7 +161,7 @@ indicate a new packet is available. Returns True if the caller should keep calling this function for more packets. ''' - # If EOF, notify the read thread by enqueing a None. + # If EOF, notify the read thread by enqueuing a None. if not packet: self.enqueue_recv_packet(None) return False @@ -788,7 +788,7 @@ self.threads = body['threads'] for thread in self.threads: # Copy the thread dictionary so we can add key/value pairs to - # it without affecfting the original info from the "threads" + # it without affecting the original info from the "threads" # command. tid = thread['id'] if tid in self.thread_stop_reasons: @@ -1018,7 +1018,7 @@ dest='attach', default=False, help=('Specify this option to attach to a process by name. The ' - 'process name is the basanme of the executable specified with ' + 'process name is the basename of the executable specified with ' 'the --program option.')) parser.add_option( diff --git a/lldb/scripts/verify_api.py b/lldb/scripts/verify_api.py --- a/lldb/scripts/verify_api.py +++ b/lldb/scripts/verify_api.py @@ -48,7 +48,7 @@ type='string', action='append', dest='archs', - help='architecure to use when checking the api') + help='architecture to use when checking the api') parser.add_option( '-r', '--api-regex', diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -1038,7 +1038,7 @@ // set a watchpoint. if (raw_command.trim().empty()) { result.GetErrorStream().Printf("error: required argument missing; " - "specify an expression to evaulate into " + "specify an expression to evaluate into " "the address to watch for\n"); result.SetStatus(eReturnStatusFailed); return false; diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -2409,7 +2409,7 @@ llvm::StringRef partial_variable(str.substr(dollar_pos + 2)); if (partial_variable.empty()) { - // Suggest all top level entites as we are just past "${" + // Suggest all top level entities as we are just past "${" StringList new_matches; AddMatches(&g_root, str, llvm::StringRef(), new_matches); request.AddCompletions(new_matches); diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -35,7 +35,7 @@ // with until TERM is set to VT100 where it stumbles over an implementation // assumption that may not exist on other platforms. The setupterm() function // would normally require headers that don't work gracefully in this context, -// so the function declaraction has been hoisted here. +// so the function declaration has been hoisted here. #if defined(__APPLE__) extern "C" { int setupterm(char *term, int fildes, int *errret); diff --git a/lldb/source/Host/common/NativeProcessProtocol.cpp b/lldb/source/Host/common/NativeProcessProtocol.cpp --- a/lldb/source/Host/common/NativeProcessProtocol.cpp +++ b/lldb/source/Host/common/NativeProcessProtocol.cpp @@ -650,7 +650,7 @@ auto saved_opcodes = makeArrayRef(pair.second.saved_opcodes); if (bp_addr + saved_opcodes.size() < addr || addr + bytes_read <= bp_addr) - continue; // Breapoint not in range, ignore + continue; // Breakpoint not in range, ignore if (bp_addr < addr) { saved_opcodes = saved_opcodes.drop_front(addr - bp_addr); diff --git a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp --- a/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp +++ b/lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp @@ -522,7 +522,7 @@ // Integer return type. else if (retType.isIntegerTy()) { size_t byte_size = retType.getPrimitiveSizeInBits(); - if (1 != byte_size) // For boolian type. + if (1 != byte_size) // For boolean type. byte_size /= CHAR_BIT; auto raw_value = ReadRawValue(reg_ctx, byte_size); diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp @@ -681,7 +681,7 @@ loaded_module_list.AppendIfNeeded(image_module_sp); } - // macCataylst support: + // macCatalyst support: // Update the module's platform with the DYLD info. ArchSpec dyld_spec = image_infos[idx].GetArchitecture(); if (dyld_spec.GetTriple().getOS() == llvm::Triple::IOS && diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h @@ -136,7 +136,7 @@ void LoadVDSO(); - // Loading an interpreter module (if present) assumming m_interpreter_base + // Loading an interpreter module (if present) assuming m_interpreter_base // already points to its base address. lldb::ModuleSP LoadInterpreterModule(); diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -716,7 +716,7 @@ return cmd; } - /// Attemps to merge the given completion from the given position into the + /// Attempts to merge the given completion from the given position into the /// existing command. Returns the completion string that can be returned to /// the lldb completion API. std::string mergeCompletion(StringRef existing, unsigned pos, diff --git a/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h b/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h --- a/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h +++ b/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h @@ -56,7 +56,7 @@ bool analyzeFile(const FileSpec &f); public: - /// Creates a configuraiton by analyzing the given list of used source files. + /// Creates a configuration by analyzing the given list of used source files. /// /// Currently only looks at the used paths and doesn't actually access the /// files on the disk. diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp --- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp +++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp @@ -7223,7 +7223,7 @@ return true; } -// LDRH (literal) caculates an address from the PC value and an immediate +// LDRH (literal) calculates an address from the PC value and an immediate // offset, loads a halfword from memory, // zero-extends it to form a 32-bit word, and writes it to a register. bool EmulateInstructionARM::EmulateLDRHLiteral(const uint32_t opcode, @@ -8509,7 +8509,7 @@ return true; } -// UXTB extracts an 8-bit value from a register, zero-extneds it to 32 bits, and +// UXTB extracts an 8-bit value from a register, zero-extends it to 32 bits, and // writes the result to the destination // register. You can specify a rotation by 0, 8, 16, or 24 bits before // extracting the 8-bit value. diff --git a/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h b/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h --- a/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h +++ b/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h @@ -203,7 +203,7 @@ bool nonvolatile_reg_p(uint32_t regnum); - const char *GetRegisterName(unsigned reg_num, bool altnernate_name); + const char *GetRegisterName(unsigned reg_num, bool alternate_name); private: std::unique_ptr m_disasm; diff --git a/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h b/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h --- a/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h +++ b/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h @@ -168,7 +168,7 @@ bool nonvolatile_reg_p(uint64_t regnum); - const char *GetRegisterName(unsigned reg_num, bool altnernate_name); + const char *GetRegisterName(unsigned reg_num, bool alternate_name); private: std::unique_ptr m_disasm; diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp --- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp +++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -127,7 +127,7 @@ return false; // Empty string or "~" if (!std::isalpha(basename[idx]) && basename[idx] != '_') - return false; // First charater (after removing the possible '~'') isn't in + return false; // First character (after removing the possible '~'') isn't in // [A-Za-z_] // Read all characters matching [A-Za-z_0-9] diff --git a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h --- a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h +++ b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h @@ -69,7 +69,7 @@ /// Obtain a ThreadPlan to get us into C++ constructs such as std::function. /// /// \param[in] thread - /// Curent thrad of execution. + /// Current thrad of execution. /// /// \param[in] stop_others /// True if other threads should pause during execution. diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -2781,7 +2781,7 @@ m_symtab_up.reset(new Symtab(this)); // In the event that there's no symbol entry for the entry point we'll - // artifically create one. We delegate to the symtab object the figuring + // artificially create one. We delegate to the symtab object the figuring // out of the proper size, this will usually make it span til the next // symbol it finds in the section. This means that if there are missing // symbols the entry point might span beyond its function definition. @@ -2878,7 +2878,7 @@ return; // First we save the new symbols into a separate list and add them to the - // symbol table after we colleced all symbols we want to add. This is + // symbol table after we collected all symbols we want to add. This is // neccessary because adding a new symbol invalidates the internal index of // the symtab what causing the next lookup to be slow because it have to // recalculate the index first. diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h @@ -106,7 +106,7 @@ static lldb_private::FileSpec GetXcodeContentsDirectory(); static lldb_private::FileSpec GetXcodeDeveloperDirectory(); - /// Return the toolchain directroy the current LLDB instance is located in. + /// Return the toolchain directory the current LLDB instance is located in. static lldb_private::FileSpec GetCurrentToolchainDirectory(); /// Return the command line tools directory the current LLDB instance is diff --git a/lldb/source/Plugins/Process/Darwin/CFUtils.h b/lldb/source/Plugins/Process/Darwin/CFUtils.h --- a/lldb/source/Plugins/Process/Darwin/CFUtils.h +++ b/lldb/source/Plugins/Process/Darwin/CFUtils.h @@ -22,7 +22,7 @@ // explicitly released using the release() member function. template class CFReleaser { public: - // Type names for the avlue + // Type names for the value typedef T element_type; // Constructors and destructors diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp @@ -566,7 +566,7 @@ // Check 4-byte alignment for hardware watchpoint target address. Below is a // hack to recalculate address and size in order to make sure we can watch - // non 4-byte alligned addresses as well. + // non 4-byte aligned addresses as well. if (addr & 0x03) { uint8_t watch_mask = (addr & 0x03) + size; @@ -861,7 +861,7 @@ // PTRACE_PEEKUSER don't work in the aarch64 linux kernel used on android // devices (always return "Bad address"). To avoid using PTRACE_PEEKUSER we // read out the full GPR register set instead. This approach is about 4 times - // slower but the performance overhead is negligible in comparision to + // slower but the performance overhead is negligible in comparison to // processing time in lldb-server. assert(offset % 4 == 0 && "Try to write a register with unaligned offset"); if (offset + sizeof(uint32_t) > sizeof(m_gpr_arm)) @@ -881,7 +881,7 @@ // devices (always return "Bad address"). To avoid using PTRACE_POKEUSER we // read out the full GPR register set, modify the requested register and // write it back. This approach is about 4 times slower but the performance - // overhead is negligible in comparision to processing time in lldb-server. + // overhead is negligible in comparison to processing time in lldb-server. assert(offset % 4 == 0 && "Try to write a register with unaligned offset"); if (offset + sizeof(uint32_t) > sizeof(m_gpr_arm)) return Status("Register isn't fit into the size of the GPR area"); diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp @@ -571,7 +571,7 @@ // Check 8-byte alignment for hardware watchpoint target address. Below is a // hack to recalculate address and size in order to make sure we can watch - // non 8-byte alligned addresses as well. + // non 8-byte aligned addresses as well. if (addr & 0x07) { uint8_t watch_mask = (addr & 0x07) + size; diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp @@ -679,7 +679,7 @@ } if (vacant_watches > 1) { - // Split this watchpoint accross several registers + // Split this watchpoint across several registers struct pt_watch_regs regs_copy; regs_copy = *regs; lldb::addr_t break_addr; diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp @@ -552,7 +552,7 @@ // Check 8-byte alignment for hardware watchpoint target address. Below is a // hack to recalculate address and size in order to make sure we can watch - // non 8-byte alligned addresses as well. + // non 8-byte aligned addresses as well. if (addr & 0x07) { addr_t begin = llvm::alignDown(addr, 8); diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp --- a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp @@ -304,7 +304,7 @@ if (length <= bytes_available) { // We have an entire packet ready, we need to copy the data bytes into // a buffer that will be owned by the packet and erase the bytes from - // our communcation buffer "m_bytes" + // our communication buffer "m_bytes" packet.SetData(DataBufferSP(new DataBufferHeap(&m_bytes[0], length))); m_bytes.erase(0, length); diff --git a/lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h b/lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h --- a/lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h +++ b/lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h @@ -521,7 +521,7 @@ 0 \ } -// Defines S and D pseudo registers mapping over correspondig vector register +// Defines S and D pseudo registers mapping over corresponding vector register #define DEFINE_FPU_PSEUDO(reg, size, offset, vreg) \ { \ #reg, nullptr, size, FPU_OFFSET(fpu_##vreg - fpu_v0) + offset, \ diff --git a/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp --- a/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp @@ -394,7 +394,7 @@ GetDebuggedProcessId(), image_base); // This is the earliest chance we can resolve the process ID and - // architecutre if we don't know them yet. + // architecture if we don't know them yet. if (GetID() == LLDB_INVALID_PROCESS_ID) SetID(GetDebuggedProcessId()); diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -947,7 +947,7 @@ reg_set_p->name ? reg_set_p->name : "", *reg_num_p); } else if (reg_info_p->value_regs == nullptr) { - // Only expediate registers that are not contained in other registers. + // Only expedite registers that are not contained in other registers. RegisterValue reg_value; Status error = reg_ctx.ReadRegister(reg_info_p, reg_value); if (error.Success()) { diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -3791,7 +3791,7 @@ } // switch(stop_state) } // else // if in All-stop-mode } // if (continue_packet) - } // case eBroadcastBitAysncContinue + } // case eBroadcastBitAsyncContinue break; case eBroadcastBitAsyncThreadShouldExit: @@ -4682,7 +4682,7 @@ // value. module.set_base_is_offset(true); } else if (name == "l_ld") { - // the memory address of the libraries PT_DYAMIC section. + // the memory address of the libraries PT_DYNAMIC section. module.set_dynamic(StringConvert::ToUInt64( value.data(), LLDB_INVALID_ADDRESS, 0)); } diff --git a/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp b/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp --- a/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp +++ b/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp @@ -477,7 +477,7 @@ // segments are usually meaningless, they may be just "read", because we're // dealing with kernel coredumps or early startup coredumps and the dumper // is grabbing pages of memory without knowing what they are. If they - // aren't marked as "exeuctable", that can break the unwinder which will + // aren't marked as "executable", that can break the unwinder which will // check a pc value to see if it is in an executable segment and stop the // backtrace early if it is not ("executable" and "unknown" would both be // fine, but "not executable" will break the unwinder). diff --git a/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp b/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp --- a/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp +++ b/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp @@ -257,7 +257,7 @@ // TODO: The definition and use of this "dump requested" constant // in Breakpad are actually Linux-specific, and for similar use - // cases on Mac/Windows it defines differnt constants, referring + // cases on Mac/Windows it defines different constants, referring // to them as "simulated" exceptions; consider moving this check // down to the OS-specific paths and checking each OS for its own // constant. diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -36,7 +36,7 @@ // can never fail to assert instead, such as the creation of // PythonString from a string literal. // -// * Elimintate Reset(), and make all non-default constructors private. +// * Eliminate Reset(), and make all non-default constructors private. // Python objects should be created with Retain<> or Take<>, and they // should be assigned with operator= // diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp @@ -1044,7 +1044,7 @@ if (!backtrace) { std::string message = std::string(toCString()) + "\n" + - "Traceback unavailble, an error occurred while reading it:\n"; + "Traceback unavailable, an error occurred while reading it:\n"; return (message + llvm::toString(backtrace.takeError())); } diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h --- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h +++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h @@ -34,7 +34,7 @@ /// Return whether the DarwinLog functionality is enabled. /// - /// The DarwinLog functionality is enabled if the user expicitly enabled + /// The DarwinLog functionality is enabled if the user explicitly enabled /// it with the enable command, or if the user has the setting set /// that controls if we always enable it for newly created/attached /// processes. diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp --- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp +++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp @@ -1939,13 +1939,13 @@ mangled.SetMangledName(ConstString(func_decorated_name)); // For MSVC, format of C funciton's decorated name depends on calling - // conventon. Unfortunately none of the format is recognized by current + // convention. Unfortunately none of the format is recognized by current // LLDB. For example, `_purecall` is a __cdecl C function. From PDB, // `__purecall` is retrieved as both its decorated and undecorated name // (using PDBSymbolFunc::getUndecoratedName method). However `__purecall` // string is not treated as mangled in LLDB (neither `?` nor `_Z` prefix). // Mangled::GetDemangledName method will fail internally and caches an - // empty string as its undecorated name. So we will face a contradition + // empty string as its undecorated name. So we will face a contradiction // here for the same symbol: // non-empty undecorated name from PDB // empty undecorated name from LLDB diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp --- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -1443,7 +1443,7 @@ // LLDB needs to create those decls only to be able to display a // type that includes a template template argument. Only the name matters for - // this purpose, so we use dummy values for the other characterisitcs of the + // this purpose, so we use dummy values for the other characteristics of the // type. return TemplateTemplateParmDecl::Create( ast, decl_ctx, SourceLocation(), @@ -8419,7 +8419,7 @@ // Try to find an exact match for the value. // At the same time, we're applying a heuristic to determine whether we want // to print this enum as a bitfield. We're likely dealing with a bitfield if - // every enumrator is either a one bit value or a superset of the previous + // every enumerator is either a one bit value or a superset of the previous // enumerators. Also 0 doesn't make sense when the enumerators are used as // flags. for (auto enumerator : enum_decl->enumerators()) { diff --git a/lldb/source/Symbol/ArmUnwindInfo.cpp b/lldb/source/Symbol/ArmUnwindInfo.cpp --- a/lldb/source/Symbol/ArmUnwindInfo.cpp +++ b/lldb/source/Symbol/ArmUnwindInfo.cpp @@ -29,7 +29,7 @@ using namespace lldb; using namespace lldb_private; -// Converts a prel31 avlue to lldb::addr_t with sign extension +// Converts a prel31 value to lldb::addr_t with sign extension static addr_t Prel31ToAddr(uint32_t prel31) { addr_t res = prel31; if (prel31 & (1 << 30)) diff --git a/lldb/source/Target/RegisterContextUnwind.cpp b/lldb/source/Target/RegisterContextUnwind.cpp --- a/lldb/source/Target/RegisterContextUnwind.cpp +++ b/lldb/source/Target/RegisterContextUnwind.cpp @@ -602,7 +602,7 @@ // multiple times, we compare the // CFA of the current // frame with the 2nd next frame because in some specail case (e.g. signal - // hanlders, hand written assembly without ABI compiance) we can have 2 + // hanlders, hand written assembly without ABI compliance) we can have 2 // frames with the same // CFA (in theory we // can have arbitrary number of frames with the same CFA, but more then 2 is @@ -1094,7 +1094,7 @@ // After the final stack frame in a stack walk we'll get one invalid // (eNotAValidFrame) stack frame -- one past the end of the stack walk. But -// higher-level code will need to tell the differnece between "the unwind plan +// higher-level code will need to tell the difference between "the unwind plan // below this frame failed" versus "we successfully completed the stack walk" // so this method helps to disambiguate that. diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -1499,7 +1499,7 @@ // +18 that assigns to rdi, and calls itself recursively for that dereference // DoGuessValueAt(frame, rdi, 8, dis, vars, 0x18) finds the instruction at // +14 that assigns to rdi, and calls itself recursively for that - // derefernece + // dereference // DoGuessValueAt(frame, rbp, -8, dis, vars, 0x14) finds "f" in the // variable list. // Returns a ValueObject for f. (That's what was stored at rbp-8 at +14) diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -453,7 +453,7 @@ } else { LLDB_LOGF(log, "Condition evaluated for breakpoint %s on thread " - "0x%llx conditon_says_stop: %i.", + "0x%llx condition_says_stop: %i.", loc_desc.GetData(), static_cast(thread_sp->GetID()), condition_says_stop); diff --git a/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py b/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py --- a/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py +++ b/lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py @@ -1,4 +1,4 @@ -"""Benchmark the turnaround time starting a debugger and run to the breakpont with lldb vs. gdb.""" +"""Benchmark the turnaround time starting a debugger and run to the breakpoint with lldb vs. gdb.""" from __future__ import print_function diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py b/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py --- a/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py @@ -157,7 +157,7 @@ # Create a dummy breakpoint to use up ID 1 _ = self.target.BreakpointCreateByLocation(self.main_file_spec, 30) - # Create a breakpiont to test with + # Create a breakpoint to test with bkpt = self.target.BreakpointCreateByLocation(self.main_file_spec, 10) bkpt_name = "ABreakpoint" bkpt_id = bkpt.GetID() diff --git a/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py b/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py --- a/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py @@ -1,7 +1,7 @@ """ Test that breakpoints do not affect stepping. Check for correct StopReason when stepping to the line with breakpoint -which chould be eStopReasonBreakpoint in general, +which should be eStopReasonBreakpoint in general, and eStopReasonPlanComplete when breakpoint's condition fails. """ diff --git a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py --- a/lldb/test/API/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/test/API/functionalities/load_unload/TestLoadUnload.py @@ -346,7 +346,7 @@ self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, substrs=[' resolved, hit count = 1']) - # Issue the 'contnue' command. We should stop agaian at a_function. + # Issue the 'continue' command. We should stop agaian at a_function. # The stop reason of the thread should be breakpoint and at a_function. self.runCmd("continue") diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py --- a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py +++ b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py @@ -101,7 +101,7 @@ self.verify_os_thread_registers(thread) # Now clear the OS plug-in path to make the OS plug-in created threads - # dissappear + # disappear self.dbg.HandleCommand( "settings clear target.process.python-os-plugin-path") diff --git a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py --- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py +++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py @@ -29,7 +29,7 @@ @skipUnlessDarwin def test_cli(self): """Test that `process status --verbose` fetches the extended crash - information dictionnary from the command-line properly.""" + information dictionary from the command-line properly.""" self.build() exe = self.getBuildArtifact("a.out") self.expect("file " + exe, @@ -46,7 +46,7 @@ @skipUnlessDarwin def test_api(self): """Test that lldb can fetch a crashed process' extended crash information - dictionnary from the api properly.""" + dictionary from the api properly.""" self.build() target = self.dbg.CreateTarget(self.getBuildArtifact("a.out")) self.assertTrue(target, VALID_TARGET) @@ -73,7 +73,7 @@ @skipIfDarwinEmbedded def test_on_sane_process(self): """Test that lldb doesn't fetch the extended crash information - dictionnary from a 'sane' stopped process.""" + dictionary from a 'sane' stopped process.""" self.build() target, _, _, _ = lldbutil.run_to_line_breakpoint(self, lldb.SBFileSpec(self.source), self.line) diff --git a/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py b/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py --- a/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py +++ b/lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py @@ -16,7 +16,7 @@ mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True - # DyanmicLoaderDarwin should batch up notifications about + # DynamicLoaderDarwin should batch up notifications about # newly added/removed libraries. Other DynamicLoaders may # not be written this way. @skipUnlessDarwin diff --git a/lldb/test/API/lang/cpp/namespace/ns3.cpp b/lldb/test/API/lang/cpp/namespace/ns3.cpp --- a/lldb/test/API/lang/cpp/namespace/ns3.cpp +++ b/lldb/test/API/lang/cpp/namespace/ns3.cpp @@ -11,7 +11,7 @@ void test_lookup_after_using_directive() { // BP_after_using_directive - //printf("func() = %d\n", func()); // eval func(), exp: error, amiguous + //printf("func() = %d\n", func()); // eval func(), exp: error, ambiguous std::printf("after using directive: func2() = %d\n", func2()); // eval func2(), exp: 3 std::printf("after using directive: ::func() = %d\n", ::func()); // eval ::func(), exp: 1 std::printf("after using directive: B::func() = %d\n", B::func()); // eval B::func(), exp: 4 diff --git a/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py b/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py --- a/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py +++ b/lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py @@ -51,7 +51,7 @@ 'echo ""', 'echo ""', '', - '# the last arugment is probably the uuid', + '# the last argument is probably the uuid', 'while [ $# -gt 1 ]', 'do', ' shift', diff --git a/lldb/test/API/macosx/lc-note/kern-ver-str/create-empty-corefile.cpp b/lldb/test/API/macosx/lc-note/kern-ver-str/create-empty-corefile.cpp --- a/lldb/test/API/macosx/lc-note/kern-ver-str/create-empty-corefile.cpp +++ b/lldb/test/API/macosx/lc-note/kern-ver-str/create-empty-corefile.cpp @@ -274,7 +274,7 @@ int header_and_load_cmd_room = sizeof (struct mach_header_64) + size_of_load_commands; - // Erease the load commands / payload now that we know how much space is needed, + // Erase the load commands / payload now that we know how much space is needed, // redo it. load_commands.clear(); payload.clear(); diff --git a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py --- a/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py +++ b/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py @@ -7,7 +7,7 @@ C++ API counterpart. Passing None should not crash lldb! There are three exceptions to the above general rules, though; API objects -SBCommadnReturnObject, SBStream, and SBSymbolContextList, are all valid objects +SBCommandReturnObject, SBStream, and SBSymbolContextList, are all valid objects after default construction. """ diff --git a/lldb/test/API/python_api/frame/TestFrames.py b/lldb/test/API/python_api/frame/TestFrames.py --- a/lldb/test/API/python_api/frame/TestFrames.py +++ b/lldb/test/API/python_api/frame/TestFrames.py @@ -114,7 +114,7 @@ if self.TraceOn(): print("Full stack traces when stopped on the breakpoint 'c':") print(session.getvalue()) - self.expect(session.getvalue(), "Argugment values displayed correctly", + self.expect(session.getvalue(), "Argument values displayed correctly", exe=False, substrs=["a((int)val=1, (char)ch='A')", "a((int)val=3, (char)ch='A')"]) diff --git a/lldb/test/API/python_api/function_symbol/main.c b/lldb/test/API/python_api/function_symbol/main.c --- a/lldb/test/API/python_api/function_symbol/main.c +++ b/lldb/test/API/python_api/function_symbol/main.c @@ -3,7 +3,7 @@ // This simple program is to test the lldb Python APIs SBTarget, SBFrame, // SBFunction, SBSymbol, and SBAddress. // -// When stopped on breakppint 1, we can get the line entry using SBFrame API +// When stopped on breakpoint 1, we can get the line entry using SBFrame API // SBFrame.GetLineEntry(). We'll get the start address for the line entry // with the SBAddress type, resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress() in order to get the SBSymbol. diff --git a/lldb/test/API/python_api/target/main.c b/lldb/test/API/python_api/target/main.c --- a/lldb/test/API/python_api/target/main.c +++ b/lldb/test/API/python_api/target/main.c @@ -2,7 +2,7 @@ // This simple program is to test the lldb Python API SBTarget. // -// When stopped on breakppint 1, and then 2, we can get the line entries using +// When stopped on breakpoint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API diff --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py --- a/lldb/test/API/python_api/thread/TestThreadAPI.py +++ b/lldb/test/API/python_api/thread/TestThreadAPI.py @@ -72,7 +72,7 @@ "main2.cpp", "// we should reach here after 3 step-over's.") # We'll use the test method name as the exe_name for executable - # comppiled from main2.cpp. + # compiled from main2.cpp. self.exe_name = self.testMethodName def get_process(self): diff --git a/lldb/test/API/tools/lldb-server/main.cpp b/lldb/test/API/tools/lldb-server/main.cpp --- a/lldb/test/API/tools/lldb-server/main.cpp +++ b/lldb/test/API/tools/lldb-server/main.cpp @@ -337,7 +337,7 @@ } else if (std::strstr(argv[i], CALL_FUNCTION_PREFIX)) { void (*func_p)() = nullptr; - // Defaut to providing the address of main. + // Default to providing the address of main. if (std::strcmp(argv[i] + strlen(CALL_FUNCTION_PREFIX), "hello") == 0) func_p = hello; else if (std::strcmp(argv[i] + strlen(CALL_FUNCTION_PREFIX), diff --git a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py --- a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py +++ b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py @@ -35,7 +35,7 @@ source = 'main.c' breakpoint1_line = line_number(source, '// breakpoint 1') lines = [breakpoint1_line] - # Set breakoint in the thread function so we can step the threads + # Set breakpoint in the thread function so we can step the threads breakpoint_ids = self.set_source_breakpoints(source, lines) self.assertEqual(len(breakpoint_ids), len(lines), "expect correct number of breakpoints") diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py --- a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py @@ -28,7 +28,7 @@ breakpoint event that informs us that the breakpoint in the shared library is "changed" and the correct line number should be supplied. We also set a breakpoint using a LLDB command using the - "preRunCommands" when launching our program. Any breapoints set via + "preRunCommands" when launching our program. Any breakpoints set via the command interpreter should not be have breakpoint events sent back to VS Code as the UI isn't able to add new breakpoints to their UI. Code has been added that tags breakpoints set from VS Code @@ -62,7 +62,7 @@ preRunCommands=[bp_command]) main_bp_id = 0 foo_bp_id = 0 - # Set breakoints and verify that they got set correctly + # Set breakpoints and verify that they got set correctly vscode_breakpoint_ids = [] response = self.vscode.request_setBreakpoints(main_source_path, [main_bp_line]) diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py @@ -24,7 +24,7 @@ is no "clearBreakpoints" packet. Source file and line breakpoints are set by sending a "setBreakpoints" packet with a source file specified and zero or more source lines. If breakpoints have been - set in the source file before, any exising breakpoints must remain + set in the source file before, any existing breakpoints must remain set, and any new breakpoints must be created, and any breakpoints that were in previous requests and are not in the current request must be removed. This function tests this setting and clearing @@ -44,7 +44,7 @@ program = self.getBuildArtifact("a.out") self.build_and_launch(program) - # Set 3 breakoints and verify that they got set correctly + # Set 3 breakpoints and verify that they got set correctly response = self.vscode.request_setBreakpoints(source_path, lines) line_to_id = {} if response: @@ -68,7 +68,7 @@ # breakpoint and set it again at the same location. We also need to # verify that the second line location was actually removed. lines.remove(second_line) - # Set 2 breakoints and verify that the previous breakoints that were + # Set 2 breakpoints and verify that the previous breakpoints that were # set above are still set. response = self.vscode.request_setBreakpoints(source_path, lines) if response: @@ -195,7 +195,7 @@ "existing breakpoint should have its condition " "updated") - # Continue with a hitContidtion of 2 and expect it to skip 1 value + # Continue with a hitCondition of 2 and expect it to skip 1 value self.continue_to_breakpoints(breakpoint_ids) i = int(self.vscode.get_local_variable_value('i')) self.assertEquals(i, 6, diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -25,7 +25,7 @@ is no "clear exception breakpoints" packet. Exception breakpoints are set by sending a "setExceptionBreakpoints" packet with zero or more exception filters. If exception breakpoints have been set - before, any exising breakpoints must remain set, and any new + before, any existing breakpoints must remain set, and any new breakpoints must be created, and any breakpoints that were in previous requests and are not in the current request must be removed. This exception tests this setting and clearing and makes diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py @@ -24,7 +24,7 @@ is no "clearFunction Breakpoints" packet. Function breakpoints are set by sending a "setFunctionBreakpoints" packet with zero or more function names. If function breakpoints have been set before, - any exising breakpoints must remain set, and any new breakpoints + any existing breakpoints must remain set, and any new breakpoints must be created, and any breakpoints that were in previous requests and are not in the current request must be removed. This function tests this setting and clearing and makes sure things happen @@ -147,7 +147,7 @@ "existing breakpoint should have its condition " "updated") - # Continue with a hitContidtion of 2 and expect it to skip 1 value + # Continue with a hitCondition of 2 and expect it to skip 1 value self.continue_to_breakpoints(breakpoint_ids) i = int(self.vscode.get_local_variable_value('i')) self.assertEquals(i, 6, diff --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py --- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py +++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py @@ -330,7 +330,7 @@ second_line = line_number(source, '// breakpoint 2') lines = [first_line, second_line] - # Set 2 breakoints so we can verify that "stopCommands" get run as the + # Set 2 breakpoints so we can verify that "stopCommands" get run as the # breakpoints get hit breakpoint_ids = self.set_source_breakpoints(source, lines) self.assertEquals(len(breakpoint_ids), len(lines), @@ -369,7 +369,7 @@ source = 'main.c' first_line = line_number(source, '// breakpoint 1') second_line = line_number(source, '// breakpoint 2') - # Set target binary and 2 breakoints + # Set target binary and 2 breakpoints # then we can varify the "launchCommands" get run # also we can verify that "stopCommands" get run as the # breakpoints get hit diff --git a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py --- a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py +++ b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py @@ -67,7 +67,7 @@ lines = [self.recurse_end] - # Set breakoint at a point of deepest recuusion + # Set breakpoint at a point of deepest recuusion breakpoint_ids = self.set_source_breakpoints(source, lines) self.assertEquals(len(breakpoint_ids), len(lines), "expect correct number of breakpoints") diff --git a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py --- a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py +++ b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py @@ -27,7 +27,7 @@ # source_path = os.path.join(os.getcwd(), source) breakpoint1_line = line_number(source, '// breakpoint 1') lines = [breakpoint1_line] - # Set breakoint in the thread function so we can step the threads + # Set breakpoint in the thread function so we can step the threads breakpoint_ids = self.set_source_breakpoints(source, lines) self.assertEqual(len(breakpoint_ids), len(lines), "expect correct number of breakpoints") diff --git a/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll b/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll --- a/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll +++ b/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll @@ -1,7 +1,7 @@ ; UNSUPPORTED: system-windows ; ; This test verifies that we do the right thing with DIFlagExportSymbols which is the new -; behavioir and without the DIFlagExportSymbols which is the old behavior for the given +; behaviour and without the DIFlagExportSymbols which is the old behavior for the given ; definitions below. ; ;``` diff --git a/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py b/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py --- a/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py +++ b/lldb/third_party/Python/module/pexpect-4.6/pexpect/spawnbase.py @@ -150,7 +150,7 @@ self._buffer = self.buffer_type() self._buffer.write(value) - # This property is provided for backwards compatability (self.buffer used + # This property is provided for backwards compatibility (self.buffer used # to be a string/bytes object) buffer = property(_get_buffer, _set_buffer) diff --git a/lldb/tools/debugserver/source/ChangeLog b/lldb/tools/debugserver/source/ChangeLog --- a/lldb/tools/debugserver/source/ChangeLog +++ b/lldb/tools/debugserver/source/ChangeLog @@ -113,7 +113,7 @@ (RNBRemote::HandleReceivedPacket): Ditto. (RNBRemote::CommDataReceived): Ditto. * DNB.cpp (DNBProcessLaunch): Changed to take a eror string pointer with - size for more desciptive error reporting (instead of a uint32_t pointer). + size for more descriptive error reporting (instead of a uint32_t pointer). * DNB.h (DNBProcessLaunch): Ditto. * DNBError.cpp (DNBError::AsString): Now returns NULL if there is no error. * DNBError.h (DNBError::SetErrorString): New accessor to allow custom error @@ -268,10 +268,10 @@ qualifier to allow arches to auto detect how many hardware watchpoints they have. * DNBArchImpl.h (DNBArchMachARM::NumSupportedHardwareBreakpoints()): Auto - detect how many BRP pairs are avialable and disable for armv7 for the time + detect how many BRP pairs are available and disable for armv7 for the time being (rdar://problem/6372672). (DNBArchMachARM::NumSupportedHardwareWatchpoints()): Auto detect how many - WRP pairs are avialable and disable for armv7 for the time being + WRP pairs are available and disable for armv7 for the time being (rdar://problem/6372672). 2009-01-09 Greg Clayton @@ -692,7 +692,7 @@ 2008-10-17 Greg Clayton * test-remotenub.cpp (RNBRunLoopLaunchInferior): Don't listen for - the qLaunchSuccess if we aren't doing a lockdown connnection. + the qLaunchSuccess if we aren't doing a lockdown connection. 2008-10-13 Greg Clayton diff --git a/lldb/tools/debugserver/source/MacOSX/CFUtils.h b/lldb/tools/debugserver/source/MacOSX/CFUtils.h --- a/lldb/tools/debugserver/source/MacOSX/CFUtils.h +++ b/lldb/tools/debugserver/source/MacOSX/CFUtils.h @@ -22,7 +22,7 @@ // explicitly released using the release() member function. template class CFReleaser { public: - // Type names for the avlue + // Type names for the value typedef T element_type; // Constructors and destructors diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h @@ -421,7 +421,7 @@ // we don't report a spurious stop on the next resume. int m_auto_resume_signo; // If we resume the process and still haven't // received our interrupt signal - // acknownledgement, we will shortly after the next resume. We store the + // acknowledgement, we will shortly after the next resume. We store the // interrupt signal in this variable so when we get the interrupt signal // as the sole reason for the process being stopped, we can auto resume // the process. diff --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp --- a/lldb/tools/lldb-test/lldb-test.cpp +++ b/lldb/tools/lldb-test/lldb-test.cpp @@ -132,7 +132,7 @@ cl::sub(SymbolsSubcommand)); static cl::opt Regex("regex", - cl::desc("Search using regular expressions (avaliable for variables " + cl::desc("Search using regular expressions (available for variables " "and functions only)."), cl::sub(SymbolsSubcommand)); static cl::opt @@ -651,7 +651,7 @@ for (uint32_t i = 0; i < comp_units_count; i++) { lldb::CompUnitSP comp_unit = symfile->GetCompileUnitAtIndex(i); if (!comp_unit) - return make_string_error("Connot parse compile unit {0}.", i); + return make_string_error("Cannot parse compile unit {0}.", i); outs() << "Processing '" << comp_unit->GetPrimaryFile().GetFilename().AsCString() diff --git a/lldb/tools/lldb-vscode/JSONUtils.h b/lldb/tools/lldb-vscode/JSONUtils.h --- a/lldb/tools/lldb-vscode/JSONUtils.h +++ b/lldb/tools/lldb-vscode/JSONUtils.h @@ -221,7 +221,7 @@ /// the Visual Studio Code debug adaptor definition. /// /// \param[in] bp -/// The exception breakppoint object to use +/// The exception breakpoint object to use /// /// \return /// A "ExceptionBreakpointsFilter" JSON object with that follows diff --git a/lldb/tools/lldb-vscode/package.json b/lldb/tools/lldb-vscode/package.json --- a/lldb/tools/lldb-vscode/package.json +++ b/lldb/tools/lldb-vscode/package.json @@ -115,7 +115,7 @@ }, "sourceMap": { "type": "array", - "description": "Specify an array of path remappings; each element must itself be a two element array containing a source and desination pathname. Overrides sourcePath.", + "description": "Specify an array of path remappings; each element must itself be a two element array containing a source and destination pathname. Overrides sourcePath.", "default": [] }, "debuggerRoot": { @@ -181,7 +181,7 @@ }, "sourceMap": { "type": "array", - "description": "Specify an array of path remappings; each element must itself be a two element array containing a source and desination pathname. Overrides sourcePath.", + "description": "Specify an array of path remappings; each element must itself be a two element array containing a source and destination pathname. Overrides sourcePath.", "default": [] }, "debuggerRoot": { diff --git a/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp b/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp --- a/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp +++ b/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp @@ -31,7 +31,7 @@ uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'}; // We will always leave the last bytes untouched - // so that string comparisions work. + // so that string comparisons work. char smaller_buffer[4] = {}; // empty buffer to read into @@ -70,7 +70,7 @@ char cyclic[] = "cyclic"; for (size_t i = 0; i < sizeof(cyclic); i++) { // We will always leave the last bytes untouched - // so that string comparisions work. + // so that string comparisons work. char equal_size_buffer[7] = {}; bytes_read = ReadCylicBufferWrapper(equal_size_buffer, sizeof(cyclic_buffer), @@ -85,7 +85,7 @@ uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'}; // We will always leave the last bytes untouched - // so that string comparisions work. + // so that string comparisons work. char smaller_buffer[4] = {}; bytes_read = ReadCylicBufferWrapper(smaller_buffer, (sizeof(smaller_buffer) - 1), @@ -136,7 +136,7 @@ char cyclic[] = "cyclic"; for (size_t i = 0; i < sizeof(cyclic); i++) { // We will always leave the last bytes untouched - // so that string comparisions work. + // so that string comparisons work. char bigger_buffer[10] = {}; bytes_read = ReadCylicBufferWrapper(bigger_buffer, (sizeof(bigger_buffer) - 1), diff --git a/lldb/unittests/Utility/ArchSpecTest.cpp b/lldb/unittests/Utility/ArchSpecTest.cpp --- a/lldb/unittests/Utility/ArchSpecTest.cpp +++ b/lldb/unittests/Utility/ArchSpecTest.cpp @@ -281,7 +281,7 @@ ASSERT_TRUE(A.IsCompatibleMatch(B)); } { - // The version information is auxiliary to support availablity but + // The version information is auxiliary to support availability but // doesn't affect compatibility. ArchSpec A("x86_64-apple-macosx10.11"); ArchSpec B("x86_64-apple-macosx10.12"); diff --git a/lldb/unittests/debugserver/CMakeLists.txt b/lldb/unittests/debugserver/CMakeLists.txt --- a/lldb/unittests/debugserver/CMakeLists.txt +++ b/lldb/unittests/debugserver/CMakeLists.txt @@ -1,6 +1,6 @@ # Note: debugserver is a Darwin-only implementation of a remote debugging # server. It is not intended to be used on other platforms. The tests are here -# because using the LLDB Host API is convienent and allows testing of both parts +# because using the LLDB Host API is convenient and allows testing of both parts # of the debugserver communication path. If you are looking for a non-darwin # remote debugging server, please use lldb-server.