]> granicus.if.org Git - clang/commit
It's not safe to use the generic CXXMethodDecl overload of CGT::getFunctionInfo
authorJohn McCall <rjmccall@apple.com>
Fri, 3 Sep 2010 00:01:57 +0000 (00:01 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 3 Sep 2010 00:01:57 +0000 (00:01 +0000)
commit52968abd2aaf36f17d9858581563bf80475fb178
tree81d7046835e29593fdbad0418b7b50e5b194851a
parent400b607546a8dbfcee3b690f3d0a2fee0ea6480b
It's not safe to use the generic CXXMethodDecl overload of CGT::getFunctionInfo
to set up a destructor call, because ABIs can tweak these conventions.
Fixes rdar://problem/8386802.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/arm.cpp