From 6dddfe30d6bb8f071a0ff799dfa8468536886e80 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 6 Oct 2014 05:52:27 +0000 Subject: [PATCH] Add FIXME/notes to the future. llvm-svn: 219104 --- clang/lib/CodeGen/CGDebugInfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index f5286ff79a4d..8e2d0de6ecd0 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.