Skip to content

Commit 3eb0973

Browse files
committed
[lld/mac] Fix (adorable!) typo to cycle bots
1 parent b7b1833 commit 3eb0973

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lld/MachO/ObjC.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class ObjcCategoryMerger {
458458
const PointerListInfo &ptrList);
459459

460460
Defined *emitCategory(const ClassExtensionInfo &extInfo);
461-
Defined *emitCatListEntrySec(const std::string &forCateogryName,
461+
Defined *emitCatListEntrySec(const std::string &forCategoryName,
462462
const std::string &forBaseClassName,
463463
ObjFile *objFile);
464464
Defined *emitCategoryBody(const std::string &name, const Defined *nameSym,
@@ -878,7 +878,7 @@ void ObjcCategoryMerger::emitAndLinkPointerList(
878878

879879
// This method creates an __objc_catlist ConcatInputSection with a single slot
880880
Defined *
881-
ObjcCategoryMerger::emitCatListEntrySec(const std::string &forCateogryName,
881+
ObjcCategoryMerger::emitCatListEntrySec(const std::string &forCategoryName,
882882
const std::string &forBaseClassName,
883883
ObjFile *objFile) {
884884
uint32_t sectionSize = target->wordSize;
@@ -894,7 +894,7 @@ ObjcCategoryMerger::emitCatListEntrySec(const std::string &forCateogryName,
894894
newCatList->parent = infoCategoryWriter.catListInfo.outputSection;
895895

896896
std::string catSymName = "<__objc_catlist slot for merged category ";
897-
catSymName += forBaseClassName + "(" + forCateogryName + ")>";
897+
catSymName += forBaseClassName + "(" + forCategoryName + ")>";
898898

899899
Defined *catListSym = make<Defined>(
900900
newStringData(catSymName.c_str()), /*file=*/objFile, newCatList,
@@ -1069,7 +1069,7 @@ void ObjcCategoryMerger::collectAndValidateCategoriesData() {
10691069
off += target->wordSize) {
10701070
Defined *categorySym = tryGetDefinedAtIsecOffset(catListCisec, off);
10711071
assert(categorySym &&
1072-
"Failed to get a valid cateogry at __objc_catlit offset");
1072+
"Failed to get a valid category at __objc_catlit offset");
10731073

10741074
// We only support ObjC categories (no swift + @objc)
10751075
// TODO: Support swift + @objc categories also

0 commit comments

Comments
 (0)