[lld] [llvm] [NFCI][LTO][lld] Optimize away symbol copies within LTO global resolution in ELF (PR #106193)
Jan Voung via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 08:53:17 PDT 2024
================
@@ -348,6 +352,11 @@ class LTO {
DenseMap<GlobalValue::GUID, StringRef> PrevailingModuleForGUID;
} ThinLTO;
+ std::unique_ptr<llvm::BumpPtrAllocator> Alloc;
+
+ // Symbol saver for global resolution map.
----------------
jvoung wrote:
Would it make sense to group these closer to GlobalResolutions map? The comment helps refer to it, but right now is separated by the "struct GlobalResolution" definition.
https://github.com/llvm/llvm-project/pull/106193
More information about the llvm-commits
mailing list