[llvm] [DWARFLinker] Make ODR uniquing deterministic (PR #194777)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 14:49:28 PDT 2026


================
@@ -182,6 +175,10 @@ class DWARFLinkerImpl : public DWARFLinker {
     /// Set of Compile Units for modules.
     ModuleUnitListTy ModulesCompileUnits;
 
+    /// Index of this object file in the link order (used for deterministic
+    /// type DIE allocation).
+    unsigned ObjectFileIdx = 0;
----------------
dmaclach wrote:

Thank you for doing this work. I am really excited to see it happen.

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


More information about the llvm-commits mailing list