[PATCH] D24336: [ELF] - Versionscript: support mangled symbols with the same name.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 00:12:11 PDT 2016


grimar added inline comments.

================
Comment at: ELF/SymbolTable.h:104
@@ -103,3 +103,3 @@
 
-  std::map<std::string, SymbolBody *> getDemangledSyms();
+  std::multimap<std::string, SymbolBody *> getDemangledSyms();
 
----------------
So I switched to multimap, but please look at the changes I had to do for that. I am not sure I like them. For example I can not return ArrayRef from findDemangled() anymore.
I would probably better go with initial version here.


https://reviews.llvm.org/D24336





More information about the llvm-commits mailing list