diff options
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
3 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index d24508f6672..22fb0293b8c 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -1129,7 +1129,7 @@ DynamicLoaderDarwinKernel::ReadKextSummaryHeader () const ByteOrder byte_order = m_kernel.GetByteOrder(); Error error; // Read enough bytes for a "OSKextLoadedKextSummaryHeader" structure - // which is currenty 4 uint32_t and a pointer. + // which is currently 4 uint32_t and a pointer. uint8_t buf[24]; DataExtractor data (buf, sizeof(buf), byte_order, addr_size); const size_t count = 4 * sizeof(uint32_t) + addr_size; @@ -1152,7 +1152,7 @@ DynamicLoaderDarwinKernel::ReadKextSummaryHeader () { Stream *s = m_process->GetTarget().GetDebugger().GetOutputFile().get(); s->Printf ("WARNING: Unable to read kext summary header, got improbable version number %u\n", m_kext_summary_header.version); - // If we get an improbably large veriosn number, we're probably getting bad memory. + // If we get an improbably large version number, we're probably getting bad memory. m_kext_summary_header_addr.Clear(); return false; } diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h index fed35479096..c9fa43fcac0 100644 --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h @@ -175,7 +175,7 @@ protected: lldb_private::UUID uuid; // UUID for this dylib if it has one, else all zeros llvm::MachO::mach_header header; // The mach header for this image std::vector<Segment> segments; // All segment vmaddr and vmsize pairs for this executable (from memory of inferior) - uint32_t load_stop_id; // The process stop ID that the sections for this image were loadeded + uint32_t load_stop_id; // The process stop ID that the sections for this image were loaded DYLDImageInfo() : address(LLDB_INVALID_ADDRESS), diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp index 286b1ef62d9..549e5f9b534 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp @@ -468,7 +468,7 @@ DynamicLoaderPOSIXDYLD::GetThreadLocalData (const lldb::ModuleSP module, const l if (modid == -1) return LLDB_INVALID_ADDRESS; - // Lookup the DTV stucture for this thread. + // Lookup the DTV structure for this thread. addr_t dtv_ptr = tp + metadata.dtv_offset; addr_t dtv = ReadPointer (dtv_ptr); if (dtv == LLDB_INVALID_ADDRESS) |