summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-01-06 10:21:05 -0800
committerFangrui Song <maskray@google.com>2020-01-06 10:25:48 -0800
commit7ae3d335467a24faa80ebd9b31446c649570ca0c (patch)
tree2c198b4fca6d45c20d7a8c0c805847f7ce8bf72b /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
parent5b24c088171d3bd7a8ff559c82926e5d4b04f032 (diff)
downloadbcm5719-llvm-7ae3d335467a24faa80ebd9b31446c649570ca0c.tar.gz
bcm5719-llvm-7ae3d335467a24faa80ebd9b31446c649570ca0c.zip
[lld] Fix trivial typos in comments
Reviewed By: ruiu, MaskRay Differential Revision: https://reviews.llvm.org/D72196
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
index 221d895a40d..0be1c10a7ab 100644
--- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
@@ -830,7 +830,7 @@ void MachOLinkingContext::addExportSymbol(StringRef sym) {
}
// Only i386 MacOSX uses old ABI, so don't change those.
if ((_os != OS::macOSX) || (_arch != arch_x86)) {
- // ObjC has two differnent ABIs. Be nice and allow one export list work for
+ // ObjC has two different ABIs. Be nice and allow one export list work for
// both ABIs by renaming symbols.
if (sym.startswith(".objc_class_name_")) {
std::string abi2className("_OBJC_CLASS_$_");
OpenPOWER on IntegriCloud