diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2016-02-17 21:09:50 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-02-17 21:09:50 +0000 |
commit | 9d8ac61fec65b20472a4e6ad9b17472828029971 (patch) | |
tree | 0cc13b596e7d67ab3bff1bf140625d177835e3a5 /llvm/lib/DebugInfo/PDB/PDBExtras.cpp | |
parent | 51a8de9f7af7930fb4a865e48ee0875cac7c1404 (diff) | |
download | bcm5719-llvm-9d8ac61fec65b20472a4e6ad9b17472828029971.tar.gz bcm5719-llvm-9d8ac61fec65b20472a4e6ad9b17472828029971.zip |
[CodeGen] Fix an assert in CodeGenFunction::EmitFunctionEpilog
The assert is triggered because isObjCRetainableType() is called on the
canonicalized return type that has been stripped of the typedefs and
attributes attached to it. To fix this assert, this commit gets the
original return type from CurCodeDecl or BlockInfo and uses it instead
of the canoicalized type.
rdar://problem/24470031
Differential Revision: http://reviews.llvm.org/D16914
llvm-svn: 261151
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBExtras.cpp')
0 files changed, 0 insertions, 0 deletions