[PATCH] D101160: [lld-macho]][nfc] Fix some typos + rephrase a comment
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 15:06:07 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG035eb6d154a1: [lld-macho]][nfc] Fix some typos + rephrase a comment (authored by int3).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101160/new/
https://reviews.llvm.org/D101160
Files:
lld/MachO/SyntheticSections.cpp
lld/test/MachO/private-extern.s
Index: lld/test/MachO/private-extern.s
===================================================================
--- lld/test/MachO/private-extern.s
+++ lld/test/MachO/private-extern.s
@@ -20,8 +20,8 @@
# EXPORTS-NM-DAG: (__TEXT,__cstring) non-external (was a private external) _foo
# EXPORTS-NM-DAG: (__TEXT,__cstring) external _bar
-# Tests that weak private_exten symbols aren't referenced in the
-# weak bind table are in weak-private.extern.s
+## The tests for weak .private_extern symbols not being referenced in the
+## weak bind table can be found in weak-private-extern.s
#--- basics.s
.section __TEXT,__cstring
Index: lld/MachO/SyntheticSections.cpp
===================================================================
--- lld/MachO/SyntheticSections.cpp
+++ lld/MachO/SyntheticSections.cpp
@@ -1115,12 +1115,12 @@
if (config->isPic)
symtab->addSynthetic("__mh_execute_header", in.header->isec, 0,
/*privateExtern=*/false,
- /*includeInSymbtab=*/true);
+ /*includeInSymtab=*/true);
else
symtab->addSynthetic("__mh_execute_header",
/*isec*/ nullptr, 0,
/*privateExtern=*/false,
- /*includeInSymbtab=*/true);
+ /*includeInSymtab=*/true);
break;
// The following symbols are N_SECT symbols, even though the header is not
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101160.340174.patch
Type: text/x-patch
Size: 1454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/fbe4869d/attachment.bin>
More information about the llvm-commits
mailing list