[lld] 815825f - [lld/mac] clang-format after f5709066e3b

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 11:53:15 PDT 2022


Author: Nico Weber
Date: 2022-06-01T14:53:08-04:00
New Revision: 815825f4426f91f22a781d63abe1e2bc6d4268a1

URL: https://github.com/llvm/llvm-project/commit/815825f4426f91f22a781d63abe1e2bc6d4268a1
DIFF: https://github.com/llvm/llvm-project/commit/815825f4426f91f22a781d63abe1e2bc6d4268a1.diff

LOG: [lld/mac] clang-format after f5709066e3b

Added: 
    

Modified: 
    lld/MachO/SyntheticSections.cpp

Removed: 
    


################################################################################
diff  --git a/lld/MachO/SyntheticSections.cpp b/lld/MachO/SyntheticSections.cpp
index d717716a22d7..367586adaf5b 100644
--- a/lld/MachO/SyntheticSections.cpp
+++ b/lld/MachO/SyntheticSections.cpp
@@ -919,9 +919,10 @@ void SymtabSection::emitStabs() {
     }
   }
 
-  llvm::stable_sort(symbolsNeedingStabs, [&](const SortingPair &a, const SortingPair &b) {
-    return a.second < b.second;
-  });
+  llvm::stable_sort(symbolsNeedingStabs,
+                    [&](const SortingPair &a, const SortingPair &b) {
+                      return a.second < b.second;
+                    });
 
   // Emit STABS symbols so that dsymutil and/or the debugger can map address
   // regions in the final binary to the source and object files from which they


        


More information about the llvm-commits mailing list