llvm-9.0-D78196
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
committerAndreas Beckmann <anbe@debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
Gbp-Pq: Name llvm-9.0-D78196.patch

llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp

index 71f926c265e38244e6368786622472cf22c44cdd..91205e771daf5095a750ff41b3ac053d9c802a7a 100644 (file)
@@ -198,6 +198,10 @@ public:
     for (auto *Sym : UpdateOther)
       if (Sym->isVariable())
         copyLocalEntry(Sym, Sym->getVariableValue());
+
+    // Clear the set of symbols that needs to be updated so the streamer can
+    // be reused without issues.
+    UpdateOther.clear();
   }
 
 private: