[lld] e06b9ba - [lld-macho] Reword comment for clarity
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 14 10:47:37 PDT 2021
Author: Jez Ng
Date: 2021-06-14T13:47:25-04:00
New Revision: e06b9ba48562741357622573d194209fdfb70274
URL: https://github.com/llvm/llvm-project/commit/e06b9ba48562741357622573d194209fdfb70274
DIFF: https://github.com/llvm/llvm-project/commit/e06b9ba48562741357622573d194209fdfb70274.diff
LOG: [lld-macho] Reword comment for clarity
Added:
Modified:
lld/MachO/MapFile.cpp
Removed:
################################################################################
diff --git a/lld/MachO/MapFile.cpp b/lld/MachO/MapFile.cpp
index fd48dd9b870f3..1b516bbef646f 100644
--- a/lld/MachO/MapFile.cpp
+++ b/lld/MachO/MapFile.cpp
@@ -48,9 +48,9 @@ static SymbolMapTy getSectionSyms(ArrayRef<Defined *> syms) {
for (Defined *dr : syms)
ret[dr->isec].push_back(dr);
- // Sort symbols by address. We want to print out symbols in the
- // order in the output file rather than the order they appeared
- // in the input files.
+ // Sort symbols by address. We want to print out symbols in the order they
+ // appear in the output file rather than the order they appeared in the input
+ // files.
for (auto &it : ret)
llvm::stable_sort(it.second, [](Defined *a, Defined *b) {
return a->getVA() < b->getVA();
More information about the llvm-commits
mailing list