summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-06 05:52:27 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-06 05:52:27 +0000
commit6dddfe30d6bb8f071a0ff799dfa8468536886e80 (patch)
tree5babacd04ed511cab936046ebc0d98d42ec49349
parentfebfafd13a426948fa494271f1a7db477883ced7 (diff)
downloadbcm5719-llvm-6dddfe30d6bb8f071a0ff799dfa8468536886e80.tar.gz
bcm5719-llvm-6dddfe30d6bb8f071a0ff799dfa8468536886e80.zip
Add FIXME/notes to the future.
llvm-svn: 219104
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index f5286ff79a4..8e2d0de6ecd 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -1162,6 +1162,11 @@ CollectCXXMemberFunctions(const CXXRecordDecl *RD, llvm::DIFile Unit,
// the member being added to type units by LLVM, while still allowing it
// to be emitted into the type declaration/reference inside the compile
// unit.
+ // FIXME: Handle Using(Shadow?)Decls here to create
+ // DW_TAG_imported_declarations inside the class for base decls brought into
+ // derived classes. GDB doesn't seem to notice/leverage these when I tried
+ // it, so I'm not rushing to fix this. (GCC seems to produce them, if
+ // referenced)
if (!Method || Method->isImplicit())
continue;
// Reuse the existing member function declaration if it exists.
OpenPOWER on IntegriCloud