[PATCH] D47975: [ELF] Fix copy relocation when two symbols share the same Symbol instance.
Benjamin Kramer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 04:29:15 PDT 2018
bkramer added inline comments.
================
Comment at: ELF/Relocations.cpp:455
+ // Use a set to deduplicate symbols.
+ SmallSet<SharedSymbol *, 4> Ret;
for (const Elf_Sym &S : File.getGlobalELFSyms()) {
----------------
SmallSet of pointers doesn't have a stable iteration order. Does that matter here?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D47975
More information about the llvm-commits
mailing list