[PATCH] MS ABI: Avoid hashing back reference keys in mangler

David Majnemer david.majnemer at gmail.com
Sun Sep 21 12:49:13 PDT 2014


================
Comment at: lib/AST/MicrosoftMangle.cpp:193-194
@@ -193,4 +192,4 @@
 
-  typedef llvm::StringMap<unsigned> BackRefMap;
+  typedef llvm::SmallVector<std::string, 10> BackRefMap;
   BackRefMap NameBackReferences;
 
----------------
It's not really a map anymore, perhaps `BackRefVec` ?

http://reviews.llvm.org/D5430






More information about the cfe-commits mailing list