diff options
| author | Fangrui Song <maskray@google.com> | 2019-07-16 05:50:45 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-07-16 05:50:45 +0000 |
| commit | 47cfe8f321515418ce8d1c00708bebdef1c330eb (patch) | |
| tree | fc559d05bf68740414c6b74c3526ce528275678e /lld/ELF/InputSection.cpp | |
| parent | 1ffceaa54361af7120c87656bd949880d5426355 (diff) | |
| download | bcm5719-llvm-47cfe8f321515418ce8d1c00708bebdef1c330eb.tar.gz bcm5719-llvm-47cfe8f321515418ce8d1c00708bebdef1c330eb.zip | |
[ELF] Fix variable names in comments after VariableName -> variableName change
Also fix some typos.
llvm-svn: 366181
Diffstat (limited to 'lld/ELF/InputSection.cpp')
| -rw-r--r-- | lld/ELF/InputSection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 1ca520c3740..a024ac307b0 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -206,9 +206,9 @@ OutputSection *SectionBase::getOutputSection() { return sec ? sec->getParent() : nullptr; } -// When a section is compressed, `RawData` consists with a header followed +// When a section is compressed, `rawData` consists with a header followed // by zlib-compressed data. This function parses a header to initialize -// `UncompressedSize` member and remove the header from `RawData`. +// `uncompressedSize` member and remove the header from `rawData`. void InputSectionBase::parseCompressedHeader() { using Chdr64 = typename ELF64LE::Chdr; using Chdr32 = typename ELF32LE::Chdr; @@ -306,7 +306,7 @@ std::string InputSectionBase::getLocation(uint64_t offset) { return info->FileName + ":" + std::to_string(info->Line) + ":(" + secAndOffset + ")"; - // File->SourceFile contains STT_FILE symbol that contains a + // File->sourceFile contains STT_FILE symbol that contains a // source file name. If it's missing, we use an object file name. std::string srcFile = getFile<ELFT>()->sourceFile; if (srcFile.empty()) |

