[lld] 53fd1ad - [lld-macho] Fix typo in diagnostic message
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 11:51:55 PDT 2021
Author: Jez Ng
Date: 2021-03-25T14:51:31-04:00
New Revision: 53fd1ada76e0f73a17da53ec0b2ac97e2f3e835e
URL: https://github.com/llvm/llvm-project/commit/53fd1ada76e0f73a17da53ec0b2ac97e2f3e835e
DIFF: https://github.com/llvm/llvm-project/commit/53fd1ada76e0f73a17da53ec0b2ac97e2f3e835e.diff
LOG: [lld-macho] Fix typo in diagnostic message
Added:
Modified:
lld/MachO/Driver.cpp
lld/test/MachO/export-options.s
Removed:
################################################################################
diff --git a/lld/MachO/Driver.cpp b/lld/MachO/Driver.cpp
index 93592f4f3a84..392adeffabb0 100644
--- a/lld/MachO/Driver.cpp
+++ b/lld/MachO/Driver.cpp
@@ -1045,7 +1045,7 @@ bool macho::link(ArrayRef<const char *> argsArr, bool canExitEarly,
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/lld/test/MachO/export-options.s b/lld/test/MachO/export-options.s
index cd2490b606f9..419accf03ad3 100644
--- a/lld/test/MachO/export-options.s
+++ b/lld/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
More information about the llvm-commits
mailing list