aboutsummaryrefslogtreecommitdiff
path: root/lld/COFF/InputFiles.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-07-16 08:26:38 +0000
committerFangrui Song <maskray@google.com>2019-07-16 08:26:38 +0000
commit2e2038b6470d4fdcdfd29bd111e67f12f688cef0 (patch)
treedc2431c254e2df86b68c41d7c662f110e7bbed13 /lld/COFF/InputFiles.cpp
parent33fdf82dda0a687133016cc41cffd4ece6693d69 (diff)
downloadllvm-2e2038b6470d4fdcdfd29bd111e67f12f688cef0.tar.gz
llvm-2e2038b6470d4fdcdfd29bd111e67f12f688cef0.tar.bz2
llvm-2e2038b6470d4fdcdfd29bd111e67f12f688cef0.zip
[COFF] Rename variale references in comments after VariableName -> variableName change
llvm-svn: 366193
Diffstat (limited to 'lld/COFF/InputFiles.cpp')
-rw-r--r--lld/COFF/InputFiles.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/COFF/InputFiles.cpp b/lld/COFF/InputFiles.cpp
index 9936a6f69ffe..c00d5c5b494e 100644
--- a/lld/COFF/InputFiles.cpp
+++ b/lld/COFF/InputFiles.cpp
@@ -556,8 +556,8 @@ Optional<Symbol *> ObjFile::createDefined(
// The second symbol entry has the name of the comdat symbol, called the
// "comdat leader".
// When this function is called for the first symbol entry of a comdat,
- // it sets ComdatDefs and returns None, and when it's called for the second
- // symbol entry it reads ComdatDefs and then sets it back to nullptr.
+ // it sets comdatDefs and returns None, and when it's called for the second
+ // symbol entry it reads comdatDefs and then sets it back to nullptr.
// Handle comdat leader.
if (const coff_aux_section_definition *def = comdatDefs[sectionNumber]) {
@@ -626,7 +626,7 @@ ArrayRef<uint8_t> ObjFile::getDebugSection(StringRef secName) {
// even if the TU was compiled with no debug info. At least two records are
// always there. S_OBJNAME stores a 32-bit signature, which is loaded into the
// PCHSignature member. S_COMPILE3 stores compile-time cmd-line flags. This is
-// currently used to initialize the HotPatchable member.
+// currently used to initialize the hotPatchable member.
void ObjFile::initializeFlags() {
ArrayRef<uint8_t> data = getDebugSection(".debug$S");
if (data.empty())
@@ -764,7 +764,7 @@ void ImportFile::parse() {
impSym = symtab->addImportData(impName, this);
// If this was a duplicate, we logged an error but may continue;
- // in this case, ImpSym is nullptr.
+ // in this case, impSym is nullptr.
if (!impSym)
return;