[cfe-commits] r160709 - /cfe/trunk/lib/AST/MicrosoftMangle.cpp

Timur Iskhodzhanov timurrrr at google.com
Wed Jul 25 01:16:41 PDT 2012


Author: timurrrr
Date: Wed Jul 25 03:16:41 2012
New Revision: 160709

URL: http://llvm.org/viewvc/llvm-project?rev=160709&view=rev
Log:
Add a FIXME to revisit the performance of BackRefMap later

Modified:
    cfe/trunk/lib/AST/MicrosoftMangle.cpp

Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=160709&r1=160708&r2=160709&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Wed Jul 25 03:16:41 2012
@@ -33,6 +33,8 @@
   MangleContext &Context;
   raw_ostream &Out;
 
+  // FIXME: audit the performance of BackRefMap as it might do way too many
+  // copying of strings.
   typedef std::map<std::string, unsigned> BackRefMap;
   BackRefMap NameBackReferences;
   bool UseNameBackReferences;





More information about the cfe-commits mailing list