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

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 13:50:03 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:

Drive by - Why "unsigned" here and uint64_t else where?

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


More information about the llvm-commits mailing list