Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.
Thanks Bruce!
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123083 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/ObjectFile/ELF/ELFHeader.h b/source/Plugins/ObjectFile/ELF/ELFHeader.h
index f6b1653..a4c0417 100644
--- a/source/Plugins/ObjectFile/ELF/ELFHeader.h
+++ b/source/Plugins/ObjectFile/ELF/ELFHeader.h
@@ -68,9 +68,9 @@
elf_half e_machine; ///< Target architecture.
elf_half e_ehsize; ///< Byte size of the ELF header.
elf_half e_phentsize; ///< Size of a program header table entry.
- elf_half e_phnum; ///< Number of program header entrys.
+ elf_half e_phnum; ///< Number of program header entries.
elf_half e_shentsize; ///< Size of a section header table entry.
- elf_half e_shnum; ///< Number of section header entrys.
+ elf_half e_shnum; ///< Number of section header entries.
elf_half e_shstrndx; ///< String table section index.
ELFHeader();
@@ -184,19 +184,19 @@
/// @brief Generic representation of an ELF program header.
struct ELFProgramHeader
{
- elf_word p_type; ///< Type of program segement.
- elf_word p_flags; ///< Segement attibutes.
- elf_off p_offset; ///< Start of segment from begining of file.
+ elf_word p_type; ///< Type of program segment.
+ elf_word p_flags; ///< Segment attributes.
+ elf_off p_offset; ///< Start of segment from beginning of file.
elf_addr p_vaddr; ///< Virtual address of segment in memory.
elf_addr p_paddr; ///< Physical address (for non-VM systems).
elf_xword p_filesz; ///< Byte size of the segment in file.
elf_xword p_memsz; ///< Byte size of the segment in memory.
- elf_xword p_align; ///< Segement alignement constraint.
+ elf_xword p_align; ///< Segment alignment constraint.
ELFProgramHeader();
- /// Parse an ELFProgramHeader entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFProgramHeader entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -234,13 +234,13 @@
/// Returns the type attribute of the st_info member.
unsigned char getType() const { return st_info & 0x0F; }
- /// Sets the bining and type of the st_info member.
+ /// Sets the binding and type of the st_info member.
void setBindingAndType(unsigned char binding, unsigned char type) {
st_info = (binding << 4) + (type & 0x0F);
}
- /// Parse an ELFSymbol entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFSymbol entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -271,8 +271,8 @@
ELFDynamic();
- /// Parse an ELFDynamic entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFDynamic entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
diff --git a/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
index dcee1ad..e91fabb 100644
--- a/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -171,7 +171,7 @@
ParseSectionHeaders();
/// Scans the dynamic section and locates all dependent modules (shared
- /// libaries) populating m_filespec_ap. This method will compute the
+ /// libraries) populating m_filespec_ap. This method will compute the
/// dependent module list only once. Returns the number of dependent
/// modules parsed.
size_t