@@ -556,8 +556,8 @@ Optional<Symbol *> ObjFile::createDefined(
556
556
// The second symbol entry has the name of the comdat symbol, called the
557
557
// "comdat leader".
558
558
// When this function is called for the first symbol entry of a comdat,
559
- // it sets ComdatDefs and returns None, and when it's called for the second
560
- // symbol entry it reads ComdatDefs and then sets it back to nullptr.
559
+ // it sets comdatDefs and returns None, and when it's called for the second
560
+ // symbol entry it reads comdatDefs and then sets it back to nullptr.
561
561
562
562
// Handle comdat leader.
563
563
if (const coff_aux_section_definition *def = comdatDefs[sectionNumber]) {
@@ -626,7 +626,7 @@ ArrayRef<uint8_t> ObjFile::getDebugSection(StringRef secName) {
626
626
// even if the TU was compiled with no debug info. At least two records are
627
627
// always there. S_OBJNAME stores a 32-bit signature, which is loaded into the
628
628
// PCHSignature member. S_COMPILE3 stores compile-time cmd-line flags. This is
629
- // currently used to initialize the HotPatchable member.
629
+ // currently used to initialize the hotPatchable member.
630
630
void ObjFile::initializeFlags () {
631
631
ArrayRef<uint8_t > data = getDebugSection (" .debug$S" );
632
632
if (data.empty ())
@@ -764,7 +764,7 @@ void ImportFile::parse() {
764
764
765
765
impSym = symtab->addImportData (impName, this );
766
766
// If this was a duplicate, we logged an error but may continue;
767
- // in this case, ImpSym is nullptr.
767
+ // in this case, impSym is nullptr.
768
768
if (!impSym)
769
769
return ;
770
770
0 commit comments