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

Timur Iskhodzhanov timurrrr at google.com
Mon Sep 22 03:22:55 PDT 2014


Funny.

Agreed to David's comment, otherwise LGTM.

================
Comment at: lib/AST/MicrosoftMangle.cpp:999
@@ -1009,1 +998,3 @@
   if (Found == NameBackReferences.end()) {
+    if (NameBackReferences.size() < 10) {
+      NameBackReferences.push_back(Name);
----------------
nit: `{}` not needed anymore?

http://reviews.llvm.org/D5430






More information about the cfe-commits mailing list