aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2012-07-25 08:16:41 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2012-07-25 08:16:41 +0000
commitff7ff3f30b4442e26e8f43970107dd5a8066d3ab (patch)
tree314272e456a9c291704aeab09e96da2dc8826a9b
parent587bcca66d86e8379b8d08a61b96c39ce347afa2 (diff)
downloadllvm-ff7ff3f30b4442e26e8f43970107dd5a8066d3ab.zip
llvm-ff7ff3f30b4442e26e8f43970107dd5a8066d3ab.tar.gz
llvm-ff7ff3f30b4442e26e8f43970107dd5a8066d3ab.tar.bz2
Add a FIXME to revisit the performance of BackRefMap later
llvm-svn: 160709
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index f9245b8c..467a45e 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -33,6 +33,8 @@ class MicrosoftCXXNameMangler {
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;