diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-04-12 21:22:48 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-04-12 21:22:48 +0000 |
commit | 7164767de2d79afee722998c2422f98fe9c04ef8 (patch) | |
tree | 0702ea61f028d389f9dd335e6e084595109a4d59 /clang/lib | |
parent | df77c9ada4c172def64f0a3514df6a34a223c409 (diff) | |
download | bcm5719-llvm-7164767de2d79afee722998c2422f98fe9c04ef8.tar.gz bcm5719-llvm-7164767de2d79afee722998c2422f98fe9c04ef8.zip |
Add a fixme for an old patch I had lying around that I'm not going to finish any time so n
llvm-svn: 266127
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index ee013a0b9be..759ee549678 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1119,6 +1119,11 @@ llvm::DISubprogram *CGDebugInfo::CreateCXXMemberFunction( // Since a single ctor/dtor corresponds to multiple functions, it doesn't // make sense to give a single ctor/dtor a linkage name. StringRef MethodLinkageName; + // FIXME: 'isFunctionLocalClass' seems like an arbitrary/unintentional + // property to use here. It may've been intended to model "is non-external + // type" but misses cases of non-function-local but non-external classes such + // as those in anonymous namespaces as well as the reverse - external types + // that are function local, such as those in (non-local) inline functions. if (!IsCtorOrDtor && !isFunctionLocalClass(Method->getParent())) MethodLinkageName = CGM.getMangledName(Method); |