[lld-macho] Fix typo in diagnostic message
GitOrigin-RevId: 53fd1ada76e0f73a17da53ec0b2ac97e2f3e835e
diff --git a/MachO/Driver.cpp b/MachO/Driver.cpp
index 93592f4..392adef 100644
--- a/MachO/Driver.cpp
+++ b/MachO/Driver.cpp
@@ -1045,7 +1045,7 @@
if (isa<Defined>(sym))
continue;
error("undefined symbol " + cachedName.val() +
- "\n>>> referenced from option -exported_symbo(s_list)");
+ "\n>>> referenced from option -exported_symbol(s_list)");
}
createSyntheticSections();
diff --git a/test/MachO/export-options.s b/test/MachO/export-options.s
index cd2490b..419accf 100644
--- a/test/MachO/export-options.s
+++ b/test/MachO/export-options.s
@@ -18,7 +18,7 @@
# RUN: FileCheck --check-prefix=UNDEF %s
# UNDEF: error: undefined symbol absent_literal
-# UNDEF-NEXT: >>> referenced from option -exported_symbo(s_list)
+# UNDEF-NEXT: >>> referenced from option -exported_symbol(s_list)
# UNDEF-NOT: error: {{.*}} absent_gl{{.}}b
## Check that exported symbol is global