diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-07-01 21:22:11 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-07-01 21:22:11 +0000 |
commit | d93c4a33395a7d9b960ec64348a07ba204d51017 (patch) | |
tree | 8cb726e00581c790adf105b4f2d8d4d8c1ca9efe /lldb/source/Plugins | |
parent | 8e9765352888379973132b3e6c2f47b3ba82d7ce (diff) | |
download | bcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.tar.gz bcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.zip |
Fix typos.
llvm-svn: 212132
Diffstat (limited to 'lldb/source/Plugins')
15 files changed, 55 insertions, 55 deletions
diff --git a/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp b/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp index 05b16e28766..f2db10c3f75 100644 --- a/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp +++ b/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp @@ -810,14 +810,14 @@ LoadValueFromConsecutiveGPRRegisters (ExecutionContext &exe_ctx, const RegisterInfo *reg_info = NULL; if (is_return_value) { - // We are assumging we are decoding this immediately after returning + // We are assuming we are decoding this immediately after returning // from a function call and that the address of the structure is in x8 reg_info = reg_ctx->GetRegisterInfoByName("x8", 0); } else { // We are assuming we are stopped at the first instruction in a function - // and that the ABI is being respected so all paramters appear where they + // and that the ABI is being respected so all parameters appear where they // should be (functions with no external linkage can legally violate the ABI). if (NGRN >= 8) return false; diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp index 52c72811dfe..e9c60f581a0 100644 --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp @@ -263,7 +263,7 @@ DynamicLoaderMacOSXDYLD::DidSetNotificationBreakpoint() const //---------------------------------------------------------------------- // Try and figure out where dyld is by first asking the Process -// if it knows (which currently calls down in the the lldb::Process +// if it knows (which currently calls down in the lldb::Process // to get the DYLD info (available on SnowLeopard only). If that fails, // then check in the default addresses. //---------------------------------------------------------------------- @@ -944,7 +944,7 @@ DynamicLoaderMacOSXDYLD::RemoveModulesUsingImageInfosAddress (lldb::addr_t image image_infos[idx].PutToLog (log); } - // Remove this image_infos from the m_all_image_infos. We do the comparision by address + // Remove this image_infos from the m_all_image_infos. We do the comparison by address // rather than by file spec because we can have many modules with the same "file spec" in the // case that they are modules loaded from memory. // @@ -1360,7 +1360,7 @@ DynamicLoaderMacOSXDYLD::UpdateImageInfosHeaderAndLoadCommands(DYLDImageInfo::co // On Mac OS X libobjc (the Objective-C runtime) has several critical dispatch // functions written in hand-written assembly, and also have hand-written unwind // information in the eh_frame section. Normally we prefer analyzing the -// assembly instructions of a curently executing frame to unwind from that frame -- +// assembly instructions of a currently executing frame to unwind from that frame -- // but on hand-written functions this profiling can fail. We should use the // eh_frame instructions for these functions all the time. // diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp index baff94fb06c..41d722a848d 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp @@ -326,7 +326,7 @@ AppleObjCRuntimeV1::UpdateISAToDescriptorMapIfNeeded() if (process) { // Update the process stop ID that indicates the last time we updated the - // map, wether it was successful or not. + // map, whether it was successful or not. m_isa_to_descriptor_stop_id = process->GetStopID(); Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 4fe1cf5b230..4f9b5e8c024 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -628,7 +628,7 @@ public: Error err; // This currently holds true for all platforms we support, but we might - // need to change this to use get the actualy byte size of "unsigned" + // need to change this to use get the actually byte size of "unsigned" // from the target AST... const uint32_t unsigned_byte_size = sizeof(uint32_t); // Skip the prototype as we don't need it (const struct +NXMapTablePrototype *prototype) @@ -2231,7 +2231,7 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapIfNeeded() RemoteNXMapTable hash_table; // Update the process stop ID that indicates the last time we updated the - // map, wether it was successful or not. + // map, whether it was successful or not. m_isa_to_descriptor_stop_id = process->GetStopID(); if (!m_hash_signature.NeedsUpdate(process, this, hash_table)) @@ -2239,7 +2239,7 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapIfNeeded() m_hash_signature.UpdateSignature (hash_table); - // Grab the dynamicly loaded objc classes from the hash table in memory + // Grab the dynamically loaded objc classes from the hash table in memory UpdateISAToDescriptorMapDynamic(hash_table); // Now get the objc classes that are baked into the Objective C runtime diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index b2119e33f64..e821f2ba74a 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -458,7 +458,7 @@ ObjectFileELF::CalculateELFNotesSegmentsCRC32 (const ProgramHeaderColl& program_ if (segment_data.SetData(object_data, ph_offset, ph_size) != ph_size) { // The ELF program header contained incorrect data, - // prabably corefile is incomplete or corrupted. + // probably corefile is incomplete or corrupted. break; } @@ -605,7 +605,7 @@ ObjectFileELF::GetModuleSpecifications (const lldb_private::FileSpec& file, (file.GetByteSize()-file_offset)/1024); // For core files - which usually don't happen to have a gnu_debuglink, - // and are pretty bulky - calulating whole contents crc32 would be too much of luxury. + // and are pretty bulky - calculating whole contents crc32 would be too much of luxury. // Thus we will need to fallback to something simpler. if (header.e_type == llvm::ELF::ET_CORE) { @@ -1242,7 +1242,7 @@ ObjectFileELF::GetSectionHeaderInfo(SectionHeaderColl §ion_headers, uint32_t &gnu_debuglink_crc, ArchSpec &arch_spec) { - // Only intialize the arch_spec to okay defaults if they're not already set. + // Only initialize the arch_spec to okay defaults if they're not already set. // We'll refine this with note data as we parse the notes. if (arch_spec.GetTriple ().getOS () == llvm::Triple::OSType::UnknownOS) { diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index 9341e275096..c95d67be7d6 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -116,8 +116,8 @@ public: case 7: case 8: case 9: - // fancy flavors that encapsulate of the the above - // falvors... + // fancy flavors that encapsulate of the above + // flavors... break; default: @@ -346,8 +346,8 @@ public: case 7: case 8: case 9: - // fancy flavors that encapsulate of the the above - // falvors... + // fancy flavors that encapsulate of the above + // flavors... break; default: @@ -1289,9 +1289,9 @@ ObjectFileMachO::CreateSections (SectionList &unified_section_list) { if (load_cmd.fileoff > m_length) { - // We have a load command that says it extends past the end of hte file. This is likely + // We have a load command that says it extends past the end of the file. This is likely // a corrupt file. We don't have any way to return an error condition here (this method - // was likely invokved from something like ObjectFile::GetSectionList()) -- all we can do + // was likely invoked from something like ObjectFile::GetSectionList()) -- all we can do // is null out the SectionList vector and if a process has been set up, dump a message // to stdout. The most common case here is core file debugging with a truncated file. const char *lc_segment_name = load_cmd.cmd == LC_SEGMENT_64 ? "LC_SEGMENT_64" : "LC_SEGMENT"; @@ -1307,9 +1307,9 @@ ObjectFileMachO::CreateSections (SectionList &unified_section_list) if (load_cmd.fileoff + load_cmd.filesize > m_length) { - // We have a load command that says it extends past the end of hte file. This is likely + // We have a load command that says it extends past the end of the file. This is likely // a corrupt file. We don't have any way to return an error condition here (this method - // was likely invokved from something like ObjectFile::GetSectionList()) -- all we can do + // was likely invoked from something like ObjectFile::GetSectionList()) -- all we can do // is null out the SectionList vector and if a process has been set up, dump a message // to stdout. The most common case here is core file debugging with a truncated file. const char *lc_segment_name = load_cmd.cmd == LC_SEGMENT_64 ? "LC_SEGMENT_64" : "LC_SEGMENT"; @@ -1345,7 +1345,7 @@ ObjectFileMachO::CreateSections (SectionList &unified_section_list) load_cmd.vmaddr, // File VM address == addresses as they are found in the object file load_cmd.vmsize, // VM size in bytes of this section load_cmd.fileoff, // Offset to the data for this section in the file - load_cmd.filesize, // Size in bytes of this section as found in the the file + load_cmd.filesize, // Size in bytes of this section as found in the file 0, // Segments have no alignment information load_cmd.flags)); // Flags for this section @@ -1474,7 +1474,7 @@ ObjectFileMachO::CreateSections (SectionList &unified_section_list) sect64.addr, // File VM address == addresses as they are found in the object file sect64.size, // VM size in bytes of this section sect64.offset, // Offset to the data for this section in the file - sect64.offset ? sect64.size : 0, // Size in bytes of this section as found in the the file + sect64.offset ? sect64.size : 0, // Size in bytes of this section as found in the file sect64.align, load_cmd.flags)); // Flags for this section segment_sp->SetIsFake(true); @@ -1971,7 +1971,7 @@ ObjectFileMachO::ParseSymtab () if (path) { FileSpec file_spec(path, false); - // Strip the path if there is @rpath, @executanble, etc so we just use the basename + // Strip the path if there is @rpath, @executable, etc so we just use the basename if (path[0] == '@') file_spec.GetDirectory().Clear(); @@ -2195,7 +2195,7 @@ ObjectFileMachO::ParseSymtab () const bool is_arm = (m_header.cputype == llvm::MachO::CPU_TYPE_ARM); - // lldb works best if it knows the start addresss of all functions in a module. + // lldb works best if it knows the start address of all functions in a module. // Linker symbols or debug info are normally the best source of information for start addr / size but // they may be stripped in a released binary. // Two additional sources of information exist in Mach-O binaries: @@ -4402,7 +4402,7 @@ ObjectFileMachO::GetDependentModules (FileSpecList& files) lldb_private::Mutex::Locker locker(module_sp->GetMutex()); struct load_command load_cmd; lldb::offset_t offset = MachHeaderSizeFromMagic(m_header.magic); - const bool resolve_path = false; // Don't resolve the dependend file paths since they may not reside on this system + const bool resolve_path = false; // Don't resolve the dependent file paths since they may not reside on this system uint32_t i; for (i=0; i<m_header.ncmds; ++i) { diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h index a2f58db9cd6..b4f297e06c4 100644 --- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h +++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h @@ -167,7 +167,7 @@ public: StopAllThreads(lldb::tid_t stop_tid); /// Adds the thread to the list of threads for which we have received the initial stopping signal. - /// The \p stop_tid paramter indicates the thread which the stop happened for. + /// The \p stop_tid parameter indicates the thread which the stop happened for. bool AddThreadForInitialStopIfNeeded(lldb::tid_t stop_tid); diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 624983dc8fc..9898cb9db1c 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -1120,7 +1120,7 @@ GDBRemoteCommunicationClient::SendAsyncSignal (int signo) // then the caller that requested the interrupt will want to keep the sequence // locked down so that no one else can send packets while the caller has control. // This function usually gets called when we are running and need to stop the -// target. It can also be used when we are running and and we need to do something +// target. It can also be used when we are running and we need to do something // else (like read/write memory), so we need to interrupt the running process // (gdb remote protocol requires this), and do what we need to do, then resume. @@ -1268,7 +1268,7 @@ int GDBRemoteCommunicationClient::SendArgumentsPacket (const ProcessLaunchInfo &launch_info) { // Since we don't get the send argv0 separate from the executable path, we need to - // make sure to use the actual exectuable path found in the launch_info... + // make sure to use the actual executable path found in the launch_info... std::vector<const char *> argv; FileSpec exe_file = launch_info.GetExecutableFile(); std::string exe_path; @@ -2924,7 +2924,7 @@ GDBRemoteCommunicationClient::SendGDBStoppointTypePacket (GDBStoppointType type, type, addr, length); - // Check we havent overwritten the end of the packet buffer + // Check we haven't overwritten the end of the packet buffer assert (packet_len + 1 < (int)sizeof(packet)); StringExtractorGDBRemote response; // Try to send the breakpoint packet, and check that it was correctly sent @@ -2952,7 +2952,7 @@ GDBRemoteCommunicationClient::SendGDBStoppointTypePacket (GDBStoppointType type, } } } - // Signal generic faliure + // Signal generic failure return UINT8_MAX; } @@ -3578,7 +3578,7 @@ GDBRemoteCommunicationClient::SaveRegisterState (lldb::tid_t tid, uint32_t &save bool GDBRemoteCommunicationClient::RestoreRegisterState (lldb::tid_t tid, uint32_t save_id) { - // We use the "m_supports_QSaveRegisterState" variable here becuase the + // We use the "m_supports_QSaveRegisterState" variable here because the // QSaveRegisterState and QRestoreRegisterState packets must both be supported in // order to be useful if (m_supports_QSaveRegisterState == eLazyBoolNo) diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 556465d153d..fddcd6cd142 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -92,7 +92,7 @@ public: // indicates if the packet was send and any response was received // even in the response is UNIMPLEMENTED. If the packet failed to // get a response, then false is returned. This quickly tells us - // if we were able to connect and communicte with the remote GDB + // if we were able to connect and communicate with the remote GDB // server bool QueryNoAckModeSupported (); @@ -233,7 +233,7 @@ public: /// directory for the platform process. /// /// @param[in] path - /// The path to a directory to use when launching our processs + /// The path to a directory to use when launching our process /// /// @return /// Zero if the for success, or an error code for failure. diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 9275ddcda1b..a1708ee6838 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -883,7 +883,7 @@ GDBRemoteCommunicationServer::SendStopReplyPacketForThread (lldb::tid_t tid) // If a 'QListThreadsInStopReply' was sent to enable this feature, we // will send all thread IDs back in the "threads" key whose value is - // a listc of hex thread IDs separated by commas: + // a list of hex thread IDs separated by commas: // "threads:10a,10b,10c;" // This will save the debugger from having to send a pair of qfThreadInfo // and qsThreadInfo packets, but it also might take a lot of room in the @@ -1663,7 +1663,7 @@ GDBRemoteCommunicationServer::Handle_A (StringExtractorGDBRemote &packet) success = false; else { - // Decode the argument index. We ignore this really becuase + // Decode the argument index. We ignore this really because // who would really send down the arguments in a random order??? const uint32_t arg_idx = packet.GetU32(UINT32_MAX); if (arg_idx == UINT32_MAX) @@ -1834,7 +1834,7 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote Error error; std::string hostname; // TODO: /tmp/ should not be hardcoded. User might want to override /tmp - // with the TMPDIR environnement variable + // with the TMPDIR environment variable packet.SetFilePos(::strlen ("qLaunchGDBServer;")); std::string name; std::string value; @@ -1939,7 +1939,7 @@ GDBRemoteCommunicationServer::KillSpawnedProcess (lldb::pid_t pid) return true; } - // the launched process still lives. Now try killling it again, + // the launched process still lives. Now try killing it again, // this time with an unblockable signal. Host::Kill (pid, SIGKILL); diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 5614a26c306..f9b2277fce0 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1985,7 +1985,7 @@ ProcessGDBRemote::DoDestroy () if (m_destroy_tried_resuming) { if (log) - log->PutCString ("ProcessGDBRemote::DoDestroy()Tried resuming to destroy once already, not doing it again."); + log->PutCString ("ProcessGDBRemote::DoDestroy() - Tried resuming to destroy once already, not doing it again."); } else { @@ -2484,7 +2484,7 @@ ProcessGDBRemote::EnableBreakpointSite (BreakpointSite *bp_site) return error; } - // We will reach here when the stub gives an unsported response to a hardware breakpoint + // We will reach here when the stub gives an unsupported response to a hardware breakpoint if (log) log->Printf("Hardware breakpoints are unsupported"); @@ -3234,7 +3234,7 @@ ProcessGDBRemote::GetExtendedInfoForThread (lldb::tid_t tid) // character in gdb-remote binary mode. lldb currently doesn't escape // these characters in its packet output -- so we add the quoted version // of the } character here manually in case we talk to a debugserver which - // un-escapes the chracters at packet read time. + // un-escapes the characters at packet read time. packet << (char) (0x7d ^ 0x20); StringExtractorGDBRemote response; @@ -3279,7 +3279,7 @@ ProcessGDBRemote::GetMaxMemorySize() m_remote_stub_max_memory_size = stub_max_size; // Even if the stub says it can support ginormous packets, - // don't exceed our resonable largeish default packet size. + // don't exceed our reasonable largeish default packet size. if (stub_max_size > reasonable_largeish_default) { stub_max_size = reasonable_largeish_default; diff --git a/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h b/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h index 7949c144d2f..b49247eca32 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h @@ -169,7 +169,7 @@ struct DWARFMappedHash { if (return_implementation_only_if_available) { - // We found the one true definiton for this class, so + // We found the one true definition for this class, so // only return that die_offsets.clear(); die_offsets.push_back (die_info_array[i].offset); diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index 010b668463d..613f7ae8064 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -2576,7 +2576,7 @@ SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (ClangASTType &clang_type) // is complete. If we don't do this, clang will crash when we // call setBases() inside of "clang_type.SetBaseClassesForClassType()" // below. Since we provide layout assistance, all ivars in this - // class and other classe will be fine, this is the best we can do + // class and other classes will be fine, this is the best we can do // short of crashing. base_class_type.StartTagDeclarationDefinition (); base_class_type.CompleteTagDeclarationDefinition (); @@ -3111,7 +3111,7 @@ SymbolFileDWARF::DIEIsInNamespace (const ClangNamespaceDecl *namespace_decl, { // We have a namespace_decl that was not NULL but it contained // a NULL "clang::NamespaceDecl", so this means the global namespace - // So as long the the contained decl context DIE isn't a namespace + // So as long the contained decl context DIE isn't a namespace // we should be ok. if (decl_ctx_die->Tag() != DW_TAG_namespace) return true; @@ -4968,7 +4968,7 @@ SymbolFileDWARF::DIEDeclContextsMatch (DWARFCompileUnit* cu1, const DWARFDebugIn if (count1 != count2) return false; - // Make sure the DW_TAG values match all the way back up the the + // Make sure the DW_TAG values match all the way back up the // compile unit. If they don't, then we are done. const DWARFDebugInfoEntry *decl_ctx_die1; const DWARFDebugInfoEntry *decl_ctx_die2; @@ -6185,7 +6185,7 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, if (accessibility == eAccessNone && decl_ctx) { // Check the decl context that contains this class/struct/union. - // If it is a class we must give it an accessability. + // If it is a class we must give it an accessibility. const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind(); if (DeclKindIsCXXClass (containing_decl_kind)) accessibility = default_accessibility; @@ -6314,7 +6314,7 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, // Start the definition if the class is not objective C since // the underlying decls respond to isCompleteDefinition(). Objective // C decls dont' respond to isCompleteDefinition() so we can't - // start the declaration definition right away. For C++ classs/union/structs + // start the declaration definition right away. For C++ class/union/structs // we want to start the definition in case the class is needed as the // declaration context for a contained class or type without the need // to complete that type.. @@ -6577,7 +6577,7 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, const bool is_cxx_method = DeclKindIsCXXClass (containing_decl_kind); // Start off static. This will be set to false in ParseChildParameters(...) - // if we find a "this" paramters as the first parameter + // if we find a "this" parameters as the first parameter if (is_cxx_method) is_static = true; @@ -7446,7 +7446,7 @@ SymbolFileDWARF::ParseVariableDIE // DWARF doesn't specify if a DW_TAG_variable is a local, global // or static variable, so we have to do a little digging by - // looking at the location of a varaible to see if it contains + // looking at the location of a variable to see if it contains // a DW_OP_addr opcode _somewhere_ in the definition. I say // somewhere because clang likes to combine small global variables // into the same symbol and have locations like: @@ -7754,7 +7754,7 @@ SymbolFileDWARF::ParseVariables if (block == NULL) { // This must be a specification or abstract origin with - // a concrete block couterpart in the current function. We need + // a concrete block counterpart in the current function. We need // to find the concrete block so we can correctly add the // variable to it DWARFCompileUnit *concrete_block_die_cu = dwarf_cu; diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h index 06330b98dc1..1493292d4b9 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h @@ -393,7 +393,7 @@ protected: LinkOSOFileAddress (SymbolFileDWARF *oso_symfile, lldb::addr_t oso_file_addr); //------------------------------------------------------------------ - /// Given a line table full of lines with "file adresses" that are + /// Given a line table full of lines with "file addresses" that are /// for a .o file represented by \a oso_symfile, link a new line table /// and return it. /// @@ -405,7 +405,7 @@ protected: /// /// @return /// Returns a valid line table full of linked addresses, or NULL - /// if none of the line table adresses exist in the main + /// if none of the line table addresses exist in the main /// executable. //------------------------------------------------------------------ lldb_private::LineTable * diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp index 8ddc1cd2ee8..5379cf29f5c 100644 --- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -42,7 +42,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& m_inst_emulator_ap.get()) { - // The the instruction emulation subclass setup the unwind plan for the + // The instruction emulation subclass setup the unwind plan for the // first instruction. m_inst_emulator_ap->CreateFunctionEntryUnwind (unwind_plan); @@ -83,7 +83,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& // Initialize the CFA with a known value. In the 32 bit case // it will be 0x80000000, and in the 64 bit case 0x8000000000000000. - // We use the address byte size to be safe for any future addresss sizes + // We use the address byte size to be safe for any future address sizes m_initial_sp = (1ull << ((addr_byte_size * 8) - 1)); RegisterValue cfa_reg_value; cfa_reg_value.SetUInt (m_initial_sp, m_cfa_reg_info.byte_size); @@ -182,7 +182,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& // While parsing the instructions of this function, if we've ever // seen the return address register (aka lr on arm) in a non-IsSame() state, - // it has been saved on the stack. If it's evern back to IsSame(), we've + // it has been saved on the stack. If it's ever back to IsSame(), we've // executed an epilogue. if (ra_reg_num != LLDB_INVALID_REGNUM && m_curr_row->GetRegisterInfo (ra_reg_num, ra_regloc) |