summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp12
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp6
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp2
7 files changed, 14 insertions, 14 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
index 9c5f05ec5be..fcf20c1cf48 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
@@ -114,7 +114,7 @@ DWARFAbbreviationDeclarationSet::AppendAbbrevDeclSequential(const DWARFAbbreviat
// Encode
//
// Encode the abbreviation table onto the end of the buffer provided
-// into a byte represenation as would be found in a ".debug_abbrev"
+// into a byte representation as would be found in a ".debug_abbrev"
// debug information section.
//----------------------------------------------------------------------
//void
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
index fcad7d3eb02..4b31159d768 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
@@ -357,7 +357,7 @@ DWARFDebugInfo::Parse(SymbolFileDWARF* dwarf2Data, Callback callback, void* user
const dw_offset_t next_cu_offset = cu->GetNextCompileUnitOffset();
depth = 0;
- // Call the callback funtion with no DIE pointer for the compile unit
+ // Call the callback function with no DIE pointer for the compile unit
// and get the offset that we are to continue to parse from
offset = callback(dwarf2Data, cu, NULL, offset, depth, userData);
@@ -369,7 +369,7 @@ DWARFDebugInfo::Parse(SymbolFileDWARF* dwarf2Data, Callback callback, void* user
bool done = false;
while (!done && die.Extract(dwarf2Data, cu.get(), &offset))
{
- // Call the callback funtion with DIE pointer that falls within the compile unit
+ // Call the callback function with DIE pointer that falls within the compile unit
offset = callback(dwarf2Data, cu, &die, offset, depth, userData);
if (die.IsNULL())
@@ -397,7 +397,7 @@ DWARFDebugInfo::Parse(SymbolFileDWARF* dwarf2Data, Callback callback, void* user
cu.reset(new DWARFCompileUnit(dwarf2Data));
- // Make sure we start on a propper
+ // Make sure we start on a proper
offset = next_cu_offset;
}
}
@@ -512,7 +512,7 @@ VerifyCallback
{
if (verifyInfo->sibling_errors++ == 0)
s->Printf("ERROR\n");
- s->Printf(" 0x%8.8x: sibling attribyte (0x%8.8x) in this die is not valid: it is less than this DIE or some of its contents.\n", die->GetOffset(), sibling);
+ s->Printf(" 0x%8.8x: sibling attribute (0x%8.8x) in this die is not valid: it is less than this DIE or some of its contents.\n", die->GetOffset(), sibling);
}
else if (sibling > verifyInfo->die_ranges.back().hi_die_offset)
{
@@ -583,7 +583,7 @@ VerifyCallback
// the address ranges within it (if any) are contiguous. The DWARF
// spec states that if a compile unit TAG has high and low PC
// attributes, there must be no gaps in the address ranges of it's
- // contained subtroutines. If there are gaps, the high and low PC
+ // contained subroutines. If there are gaps, the high and low PC
// must not be in the DW_TAG_compile_unit's attributes. Errors like
// this can crop up when optimized code is dead stripped and the debug
// information isn't properly fixed up for output.
@@ -698,7 +698,7 @@ VerifyCallback
else
{
// cu->Dump(ostrm_ptr); // Dump the compile unit for the DIE
- // We have a new comile unit header
+ // We have a new compile unit header
verifyInfo->die_ranges.clear();
DIERange die_range;
die_range.range.offset = cu->GetOffset();
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
index 7b536ffe724..839ec031051 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
@@ -1999,7 +1999,7 @@ DWARFDebugInfoEntry::LookupAddress
}
else
{ // compile units may not have a valid high/low pc when there
- // are address gaps in subtroutines so we must always search
+ // are address gaps in subroutines so we must always search
// if there is no valid high and low PC
check_children = (tag == DW_TAG_compile_unit) && ((function_die != NULL) || (block_die != NULL));
}
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
index 011ae1f7cb2..69f1c7b5a2b 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
@@ -796,7 +796,7 @@ DWARFDebugLine::ParseStatementTable
// opcode divided by the line_range multiplied by the
// minimum_instruction_length field from the header. That is:
//
- // address increment = (adjusted opcode / line_range) * minimim_instruction_length
+ // address increment = (adjusted opcode / line_range) * minimum_instruction_length
//
// The amount to increment the line register is the line_base plus
// the result of the adjusted opcode modulo the line_range. That is:
@@ -1142,7 +1142,7 @@ DWARFDebugLine::Row::Insert(Row::collection& state_coll, const Row& state)
// with the current one if the one it is replacing is an end_sequence entry.
// We currently always place an extra end sequence when ever we exit a valid
// address range for a function in case the functions get rearranged by
- // optmimizations or by order specifications. These extra end sequences will
+ // optimizations or by order specifications. These extra end sequences will
// disappear by getting replaced with valid consecutive entries within a
// compile unit if there are no gaps.
if (range.first == range.second)
@@ -1202,7 +1202,7 @@ void
DWARFDebugLine::State::AppendRowToMatrix(dw_offset_t offset)
{
// Each time we are to add an entry into the line table matrix
- // call the callback funtion so that someone can do something with
+ // call the callback function so that someone can do something with
// the current state of the state machine (like build a line table
// or dump the line table!)
if (log)
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
index 57b2f159661..6763eecc3dd 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
@@ -187,7 +187,7 @@ public:
Prologue::shared_ptr prologue;
lldb_private::Log *log;
- Callback callback; // Callback funcation that gets called each time an entry it to be added to the matrix
+ Callback callback; // Callback function that gets called each time an entry is to be added to the matrix
void* callbackUserData;
int row; // The row number that starts at zero for the prologue, and increases for each row added to the matrix
private:
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
index f3f8b0f2c67..2b3dc757bf3 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
@@ -150,7 +150,7 @@ DWARFDebugPubnames::GeneratePubnames(SymbolFileDWARF* dwarf2Data)
case DW_TAG_inlined_subroutine:
// Even if this is a function level static, we don't add it. We could theoretically
// add these if we wanted to by introspecting into the DW_AT_location and seeing
- // if the location describes a hard coded address, but we dont want the performance
+ // if the location describes a hard coded address, but we don't want the performance
// penalty of that right now.
add_die = false;
// if (attributes.ExtractFormValueAtIndex(dwarf2Data, i, form_value))
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
index 62da22855f7..ed76f6b7070 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
@@ -131,7 +131,7 @@ DWARFDebugRanges::RangeList::Extract(SymbolFileDWARF* dwarf2Data, uint32_t* offs
// End of range list
break;
}
- // Extend 4 byte addresses that consits of 32 bits of 1's to be 64 bits
+ // Extend 4 byte addresses that consists of 32 bits of 1's to be 64 bits
// of ones
switch (addr_size)
{
OpenPOWER on IntegriCloud