aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-18 22:52:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-18 22:52:09 +0000
commitb5da3e94b72a0106abd69c2a84bf650e773fa4ac (patch)
tree571db0c831ca66a1453c9397395a0bf57563534e
parentbc5e150b6d94cf131f7d01bc715571b741c5b408 (diff)
Add anti-FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64969 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CodeGenModule.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index 312eaad297..e7c784580b 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/lib/CodeGen/CodeGenModule.cpp
@@ -162,7 +162,10 @@ static void setGlobalVisibility(llvm::GlobalValue *GV,
/// FIXME: Returning an IdentifierInfo* here is a total hack. We
/// really need some kind of string abstraction that either stores a
/// mangled name or stores an IdentifierInfo*. This will require
-/// changes to the GlobalDeclMap, too.
+/// changes to the GlobalDeclMap, too. (I disagree, I think what we
+/// actually need is for Sema to provide some notion of which Decls
+/// refer to the same semantic decl. We shouldn't need to mangle the
+/// names and see what comes out the same to figure this out. - DWD)
///
/// FIXME: Performance here is going to be terribly until we start
/// caching mangled names. However, we should fix the problem above