[PATCH] D24336: [ELF] - Versionscript: support mangled symbols with the same name.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 13:36:53 PDT 2016
ruiu added inline comments.
================
Comment at: ELF/SymbolTable.h:104
@@ -103,3 +103,3 @@
- std::map<std::string, SymbolBody *> getDemangledSyms();
+ std::map<std::string, std::vector<SymbolBody *>> getDemangledSyms();
----------------
It seems you want to use multimap instead of map + vector.
https://reviews.llvm.org/D24336
More information about the llvm-commits
mailing list