[Lldb-commits] [lldb] r275983 - Typo corrections identified by codespell

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 19 08:28:03 PDT 2016


Author: emaste
Date: Tue Jul 19 10:28:02 2016
New Revision: 275983

URL: http://llvm.org/viewvc/llvm-project?rev=275983&view=rev
Log:
Typo corrections identified by codespell

Submitted by giffunip at yahoo.com; I fixed a couple of nearby errors and
incorrect changes in the patch.

llvm.org/pr27634

Modified:
    lldb/trunk/include/lldb/Core/ArchSpec.h
    lldb/trunk/include/lldb/Core/Module.h
    lldb/trunk/include/lldb/Target/Platform.h
    lldb/trunk/include/lldb/Target/Target.h
    lldb/trunk/include/lldb/Target/Thread.h
    lldb/trunk/include/lldb/Target/ThreadPlan.h
    lldb/trunk/include/lldb/Utility/TaskPool.h
    lldb/trunk/include/lldb/lldb-enumerations.h
    lldb/trunk/source/Commands/CommandObjectType.cpp
    lldb/trunk/source/Core/Error.cpp
    lldb/trunk/source/Host/common/Editline.cpp
    lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
    lldb/trunk/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
    lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
    lldb/trunk/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
    lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
    lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    lldb/trunk/source/Symbol/LineTable.cpp
    lldb/trunk/source/Target/Memory.cpp
    lldb/trunk/source/Target/StackFrame.cpp
    lldb/trunk/source/Utility/ModuleCache.cpp
    lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp

Modified: lldb/trunk/include/lldb/Core/ArchSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ArchSpec.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Tue Jul 19 10:28:02 2016
@@ -435,7 +435,7 @@ public:
     /// @param[in] cpu The required CPU type.
     ///
     /// @param[in] os The optional OS type
-    /// The default value of 0 was choosen to from the ELF spec value
+    /// The default value of 0 was chosen to from the ELF spec value
     /// ELFOSABI_NONE.  ELF is the only one using this parameter.  If another
     /// format uses this parameter and 0 does not work, use a value over
     /// 255 because in the ELF header this is value is only a byte.

Modified: lldb/trunk/include/lldb/Core/Module.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Module.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Module.h (original)
+++ lldb/trunk/include/lldb/Core/Module.h Tue Jul 19 10:28:02 2016
@@ -250,7 +250,7 @@ public:
                                      SymbolContextList &sc_list);
 
     //------------------------------------------------------------------
-    /// Find a funciton symbols in the object file's symbol table.
+    /// Find a function symbols in the object file's symbol table.
     ///
     /// @param[in] name
     ///     The name of the symbol that we are looking for.

Modified: lldb/trunk/include/lldb/Target/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Platform.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Platform.h (original)
+++ lldb/trunk/include/lldb/Target/Platform.h Tue Jul 19 10:28:02 2016
@@ -1055,7 +1055,7 @@ class ModuleCache;
         ///     contain the error message.
         ///
         /// @return
-        ///     The number of processes we are succesfully connected to.
+        ///     The number of processes we are successfully connected to.
         //------------------------------------------------------------------
         virtual size_t
         ConnectToWaitingProcesses(lldb_private::Debugger& debugger, lldb_private::Error& error);

Modified: lldb/trunk/include/lldb/Target/Target.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Target.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Target.h (original)
+++ lldb/trunk/include/lldb/Target/Target.h Tue Jul 19 10:28:02 2016
@@ -1074,7 +1074,7 @@ public:
     /// dependent modules that are discovered from the object files, or
     /// discovered at runtime as things are dynamically loaded.
     ///
-    /// Setting the executable causes any of the current dependant
+    /// Setting the executable causes any of the current dependent
     /// image information to be cleared and replaced with the static
     /// dependent image information found by calling
     /// ObjectFile::GetDependentModules (FileSpecList&) on the main

Modified: lldb/trunk/include/lldb/Target/Thread.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Thread.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Thread.h (original)
+++ lldb/trunk/include/lldb/Target/Thread.h Tue Jul 19 10:28:02 2016
@@ -404,7 +404,7 @@ public:
     /// This is a unique identifier for the libdispatch/GCD queue in a 
     /// process.  Often starting at 1 for the initial system-created 
     /// queues and incrementing, a QueueID will not be reused for a
-    /// different queue during the lifetime of a proces.
+    /// different queue during the lifetime of a process.
     ///
     /// @return
     ///     A QueueID if the Thread subclass implements this, else

Modified: lldb/trunk/include/lldb/Target/ThreadPlan.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/ThreadPlan.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/ThreadPlan.h (original)
+++ lldb/trunk/include/lldb/Target/ThreadPlan.h Tue Jul 19 10:28:02 2016
@@ -214,7 +214,7 @@ namespace lldb_private {
 //  The private process running thread will take care of ensuring that only one "eStateRunning" event will be
 //  delivered to the public Process broadcaster per public eStateStopped event.  However there are some cases
 //  where the public state of this process is eStateStopped, but a thread plan needs to restart the target, but
-//  doesn't want the running event to be publically broadcast.  The obvious example of this is running functions
+//  doesn't want the running event to be publicly broadcast.  The obvious example of this is running functions
 //  by hand as part of expression evaluation.  To suppress the running event return eVoteNo from ShouldReportStop,
 //  to force a running event to be reported return eVoteYes, in general though you should return eVoteNoOpinion
 //  which will allow the ThreadList to figure out the right thing to do.

Modified: lldb/trunk/include/lldb/Utility/TaskPool.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Utility/TaskPool.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Utility/TaskPool.h (original)
+++ lldb/trunk/include/lldb/Utility/TaskPool.h Tue Jul 19 10:28:02 2016
@@ -35,8 +35,8 @@
 #include <vector>
 
 // Global TaskPool class for running tasks in parallel on a set of worker thread created the first
-// time the task pool is used. The TaskPool provide no gurantee about the order the task will be run
-// and about what tasks will run in parrallel. None of the task added to the task pool should block
+// time the task pool is used. The TaskPool provide no guarantee about the order the task will be run
+// and about what tasks will run in parallel. None of the task added to the task pool should block
 // on something (mutex, future, condition variable) what will be set only by the completion of an
 // other task on the task pool as they may run on the same thread sequentally.
 class TaskPool

Modified: lldb/trunk/include/lldb/lldb-enumerations.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-enumerations.h?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-enumerations.h (original)
+++ lldb/trunk/include/lldb/lldb-enumerations.h Tue Jul 19 10:28:02 2016
@@ -757,9 +757,9 @@ namespace lldb {
    // 1) When frame A pushes frame B (or a frame that ends up pushing B) A is Older than B.
    // 2) When frame A pushed frame B (or if frame A is on the stack but B is not) A is Younger than B
    // 3) When frame A and frame B have the same StackID, they are Equal.
-   // 4) When frame A and frame B have the same immediate parent frame, but are not equal, the comparision yields
+   // 4) When frame A and frame B have the same immediate parent frame, but are not equal, the comparison yields
    //    SameParent.
-   // 5) If the two frames are on different threads or processes the comparision is Invalid
+   // 5) If the two frames are on different threads or processes the comparison is Invalid
    // 6) If for some reason we can't figure out what went on, we return Unknown.
    //----------------------------------------------------------------------
    enum FrameComparison

Modified: lldb/trunk/source/Commands/CommandObjectType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectType.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectType.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectType.cpp Tue Jul 19 10:28:02 2016
@@ -752,7 +752,7 @@ Adding default formatting:
 (lldb) type format add -f hex AInt
 (lldb) frame variable iy
 
-)" "    Produces hexidecimal display of iy, because no formatter is available for Bint and \
+)" "    Produces hexadecimal display of iy, because no formatter is available for Bint and \
 the one for Aint is used instead." R"(
 
 To prevent this use the cascade option '-C no' to prevent evaluation of typedef chains:

Modified: lldb/trunk/source/Core/Error.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Error.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Core/Error.cpp (original)
+++ lldb/trunk/source/Core/Error.cpp Tue Jul 19 10:28:02 2016
@@ -155,7 +155,7 @@ Error::GetType () const
 }
 
 //----------------------------------------------------------------------
-// Retuns true if this object contains an value that describes an
+// Returns true if this object contains a value that describes an
 // error or otherwise non-success result.
 //----------------------------------------------------------------------
 bool

Modified: lldb/trunk/source/Host/common/Editline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Editline.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Editline.cpp (original)
+++ lldb/trunk/source/Host/common/Editline.cpp Tue Jul 19 10:28:02 2016
@@ -1144,7 +1144,7 @@ Editline::ConfigureEditor (bool multilin
             }));
 
     // Register the complete callback under two names for compatibility with older clients using
-    // custom .editrc files (largely becuase libedit has a bad bug where if you have a bind command
+    // custom .editrc files (largely because libedit has a bad bug where if you have a bind command
     // that tries to bind to a function name that doesn't exist, it can corrupt the heap and
     // crash your process later.)
     EditlineCommandCallbackType complete_callback = [] (EditLine * editline, int ch) {

Modified: lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp (original)
+++ lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp Tue Jul 19 10:28:02 2016
@@ -606,7 +606,7 @@ ConnectionFileDescriptor::BytesAvailable
     struct timeval tv;
     if (timeout_usec == UINT32_MAX)
     {
-        // Inifinite wait...
+        // Infinite wait...
         tv_ptr = nullptr;
     }
     else

Modified: lldb/trunk/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp Tue Jul 19 10:28:02 2016
@@ -723,7 +723,7 @@ ABISysV_mips64::GetReturnValueObjectImpl
                     }
                 }
             }
-            // Vector types upto 16 bytes are returned in GP return registers
+            // Vector types up to 16 bytes are returned in GP return registers
             if (type_flags & eTypeIsVector)
             {
                 if (byte_size <= 8)

Modified: lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp Tue Jul 19 10:28:02 2016
@@ -671,7 +671,7 @@ DynamicLoaderHexagonDYLD::GetThreadLocal
     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)

Modified: lldb/trunk/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp Tue Jul 19 10:28:02 2016
@@ -413,7 +413,7 @@ GoUserExpression::GoInterpreter::VisitId
                         type.append("float");
                         break;
                     default:
-                        m_error.SetErrorString("Invaild register encoding");
+                        m_error.SetErrorString("Invalid register encoding");
                         return nullptr;
                 }
                 switch (reg->byte_size)
@@ -431,7 +431,7 @@ GoUserExpression::GoInterpreter::VisitId
                         type.append("8");
                         break;
                     default:
-                        m_error.SetErrorString("Invaild register size");
+                        m_error.SetErrorString("Invalid register size");
                         return nullptr;
                 }
                 ValueObjectSP regVal =
@@ -443,7 +443,7 @@ GoUserExpression::GoInterpreter::VisitId
                     return regVal;
                 }
             }
-            m_error.SetErrorString("Invaild register name");
+            m_error.SetErrorString("Invalid register name");
             return nullptr;
         }
         VariableListSP var_list_sp(m_frame->GetInScopeVariableList(false));

Modified: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp Tue Jul 19 10:28:02 2016
@@ -1463,7 +1463,7 @@ RenderScriptRuntime::FixupScriptDetails(
 }
 
 // Uses the Target API to evaluate the expression passed as a parameter to the function
-// The result of that expression is returned an unsigned 64 bit int, via the result* paramter.
+// The result of that expression is returned an unsigned 64 bit int, via the result* parameter.
 // Function returns true on success, and false on failure
 bool
 RenderScriptRuntime::EvalRSExpression(const char *expression, StackFrame *frame_ptr, uint64_t *result)
@@ -1898,7 +1898,7 @@ RenderScriptRuntime::JITSubelements(Elem
 }
 
 // JITs the RS runtime for the address of the last element in the allocation.
-// The `elem_size` paramter represents the size of a single element, including padding.
+// The `elem_size` parameter represents the size of a single element, including padding.
 // Which is needed as an offset from the last element pointer.
 // Using this offset minus the starting address we can calculate the size of the allocation.
 // Returns true on success, false otherwise
@@ -1931,7 +1931,7 @@ RenderScriptRuntime::JITAllocationSize(A
         allocation->size = dim_x * dim_y * dim_z * *allocation->element.datum_size.get();
 
         if (log)
-            log->Printf("%s - infered size of struct allocation %" PRIu32 ".", __FUNCTION__,
+            log->Printf("%s - inferred size of struct allocation %" PRIu32 ".", __FUNCTION__,
                         *allocation->size.get());
         return true;
     }
@@ -2229,7 +2229,7 @@ RenderScriptRuntime::GetAllocationData(A
 
 // Function copies data from a binary file into an allocation.
 // There is a header at the start of the file, FileHeader, before the data content itself.
-// Information from this header is used to display warnings to the user about incompatabilities
+// Information from this header is used to display warnings to the user about incompatibilities
 bool
 RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, const char *filename, StackFrame *frame_ptr)
 {
@@ -3422,7 +3422,7 @@ RenderScriptRuntime::PlaceBreakpointOnKe
         uint32_t *baton = new uint32_t[coords.size()];
         baton[0] = coords[0]; baton[1] = coords[1]; baton[2] = coords[2];
 
-        // Create a callback that will be invoked everytime the breakpoint is hit.
+        // Create a callback that will be invoked every time the breakpoint is hit.
         // The baton object passed to the handler is the target coordinate we want to break on.
         bp->SetCallback(KernelBreakpointHit, baton, true);
 

Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp Tue Jul 19 10:28:02 2016
@@ -2390,7 +2390,7 @@ ObjectFileELF::ParseSymbols (Symtab *sym
             /*
              * MIPS:
              * The bit #0 of an address is used for ISA mode (1 for microMIPS, 0 for MIPS).
-             * This allows processer to switch between microMIPS and MIPS without any need
+             * This allows processor to switch between microMIPS and MIPS without any need
              * for special mode-control register. However, apart from .debug_line, none of
              * the ELF/DWARF sections set the ISA bit (for symbol or section). Use st_other
              * flag to check whether the symbol is microMIPS and then set the address class

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Tue Jul 19 10:28:02 2016
@@ -4499,7 +4499,7 @@ GDBRemoteCommunicationClient::ServeSymbo
     // symbols and we can stop asking.
     bool symbol_response_provided = false;
 
-    // Is this the inital qSymbol:: packet?
+    // Is this the initial qSymbol:: packet?
     bool first_qsymbol_query = true;
 
     if (m_supports_qSymbol && m_qSymbol_requests_done == false)

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp Tue Jul 19 10:28:02 2016
@@ -303,7 +303,7 @@ DWARFCompileUnit::ExtractDIEsIfNeeded (b
 
     DWARFCompileUnit* dwo_cu = m_dwo_symbol_file->GetCompileUnit();
     size_t dwo_die_count = dwo_cu->ExtractDIEsIfNeeded(cu_die_only);
-    return m_die_array.size() + dwo_die_count - 1; // We have 2 CU die, but we waht to count it only as one
+    return m_die_array.size() + dwo_die_count - 1; // We have 2 CU die, but we want to count it only as one
 }
 
 void

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Tue Jul 19 10:28:02 2016
@@ -1567,7 +1567,7 @@ SymbolFileDWARF::ResolveTypeUID (const D
                                                       die.GetName());
 
         // We might be coming in in the middle of a type tree (a class
-        // withing a class, an enum within a class), so parse any needed
+        // within a class, an enum within a class), so parse any needed
         // parent DIEs before we get to this one...
         DWARFDIE decl_ctx_die = GetDeclContextDIEContainingDIE (die);
         if (decl_ctx_die)

Modified: lldb/trunk/source/Symbol/LineTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/LineTable.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/LineTable.cpp (original)
+++ lldb/trunk/source/Symbol/LineTable.cpp Tue Jul 19 10:28:02 2016
@@ -106,7 +106,7 @@ LineTable::AppendLineEntryToSequence
     if (!entries.empty() && entries.back().file_addr == file_addr)
     {
         // GCC don't use the is_prologue_end flag to mark the first instruction after the prologue.
-        // Instead of it it is issueing a line table entry for the first instruction of the prologue
+        // Instead of it it is issuing a line table entry for the first instruction of the prologue
         // and one for the first instruction after the prologue. If the size of the prologue is 0
         // instruction then the 2 line entry will have the same file address. Removing it will remove
         // our ability to properly detect the location of the end of prologe so we set the prologue_end

Modified: lldb/trunk/source/Target/Memory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Memory.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Target/Memory.cpp (original)
+++ lldb/trunk/source/Target/Memory.cpp Tue Jul 19 10:28:02 2016
@@ -371,7 +371,7 @@ AllocatedBlock::ReserveBlock (uint32_t s
 //            {
 //                // No more bits are set starting from unallocated_idx, so we
 //                // either have enough chunks for the request, or we don't.
-//                // Eiter way we break out of the while loop...
+//                // Either way we break out of the while loop...
 //                num_chunks = total_chunks - unallocated_idx;
 //                if (needed_chunks <= num_chunks)
 //                    first_chunk_idx = unallocated_idx;

Modified: lldb/trunk/source/Target/StackFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/StackFrame.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Target/StackFrame.cpp (original)
+++ lldb/trunk/source/Target/StackFrame.cpp Tue Jul 19 10:28:02 2016
@@ -315,7 +315,7 @@ StackFrame::GetFrameBlock ()
         }
         else
         {
-            // This block is not contained withing any inlined function blocks
+            // This block is not contained within any inlined function blocks
             // with so we want to use the top most function block.
             return &m_sc.function->GetBlock (false);
         }

Modified: lldb/trunk/source/Utility/ModuleCache.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Utility/ModuleCache.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/source/Utility/ModuleCache.cpp (original)
+++ lldb/trunk/source/Utility/ModuleCache.cpp Tue Jul 19 10:28:02 2016
@@ -323,7 +323,7 @@ ModuleCache::GetAndPut (const FileSpec &
     llvm::FileRemover tmp_symfile_remover (tmp_download_sym_file_spec.GetPath ().c_str ());
     if (error.Fail ())
         // Failed to download a symfile but fetching the module was successful. The module might
-        // contain the neccessary symbols and the debugging is also possible without a symfile.
+        // contain the necessary symbols and the debugging is also possible without a symfile.
         return Error ();
 
     error = Put (root_dir_spec, escaped_hostname.c_str(), module_spec, tmp_download_sym_file_spec, GetSymbolFileSpec(module_spec.GetFileSpec ()));

Modified: lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp?rev=275983&r1=275982&r2=275983&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLogMediumFile.cpp Tue Jul 19 10:28:02 2016
@@ -351,7 +351,7 @@ CMICmnLogMediumFile::FileWriteHeader()
 
 //++ ------------------------------------------------------------------------------------
 // Details: Convert any carriage line returns to be compatible with the platform the
-//          Log fiel is being written to.
+//          Log file is being written to.
 // Type:    Method.
 // Args:    vData   - (R) Text data.
 // Return:  CMIUtilString - Converted string data.




More information about the lldb-commits mailing list