[PATCH] D113823: [lld-macho] Fix warning

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 19:40:06 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG51715fbd96c1: [lld-macho] Fix warning (authored by keith).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113823/new/

https://reviews.llvm.org/D113823

Files:
  lld/MachO/Symbols.cpp


Index: lld/MachO/Symbols.cpp
===================================================================
--- lld/MachO/Symbols.cpp
+++ lld/MachO/Symbols.cpp
@@ -40,8 +40,8 @@
       overridesWeakDef(canOverrideWeakDef), privateExtern(isPrivateExtern),
       includeInSymtab(true), thumb(isThumb),
       referencedDynamically(isReferencedDynamically), noDeadStrip(noDeadStrip),
-      weakDef(isWeakDef), external(isExternal),
-      weakDefCanBeHidden(isWeakDefCanBeHidden) {
+      weakDefCanBeHidden(isWeakDefCanBeHidden), weakDef(isWeakDef),
+      external(isExternal) {
   if (isec) {
     isec->symbols.push_back(this);
     // Maintain sorted order.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113823.387001.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211113/59f69120/attachment.bin>


More information about the llvm-commits mailing list