[llvm] Use MapVector to fix lld thinLTO "nondeterminism" issue. (PR #117551)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 19:03:19 PST 2024


================
@@ -28,11 +29,11 @@ class RecordStreamer : public MCStreamer {
 
 private:
   const Module &M;
-  StringMap<State> Symbols;
+  MapVector<StringRef, State> Symbols;
----------------
llvmssh wrote:

Ok, thanks for your reply, Symbols may not need to change StringMap to MapVec. I'll check again if modifying only SymverAliasMap is OK.

https://github.com/llvm/llvm-project/pull/117551


More information about the llvm-commits mailing list