diff --git a/lld/MachO/ICF.cpp b/lld/MachO/ICF.cpp index ae0bee8e942cb..7b31378c3781e 100644 --- a/lld/MachO/ICF.cpp +++ b/lld/MachO/ICF.cpp @@ -449,7 +449,7 @@ void ICF::run() { ConcatInputSection *beginIsec = icfInputs[begin]; for (size_t i = begin + 1; i < end; ++i) { - // Skip keepUnique inputs when using safe_thunks (already handeled above) + // Skip keepUnique inputs when using safe_thunks (already handled above) if (useSafeThunks && icfInputs[i]->keepUnique) { // Assert keepUnique sections are either small or replaced with thunks. assert(!icfInputs[i]->live || diff --git a/lld/MachO/ObjC.cpp b/lld/MachO/ObjC.cpp index 35954b25f7149..ab7f73c3a1df6 100644 --- a/lld/MachO/ObjC.cpp +++ b/lld/MachO/ObjC.cpp @@ -632,7 +632,7 @@ bool ObjcCategoryMerger::collectCategoryWriterInfoFromCategory( tryGetDefinedAtIsecOffset(catInfo.catBodyIsec, catLayout.nameOffset); if (!catNameSym) { - // This is an unhandeled case where the category name is not a symbol but + // This is an unhandled case where the category name is not a symbol but // instead points to an CStringInputSection (that doesn't have any symbol) // TODO: Find a small repro and either fix or add a test case for this // scenario