summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/PDBExtras.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-02-17 21:09:50 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-02-17 21:09:50 +0000
commit9d8ac61fec65b20472a4e6ad9b17472828029971 (patch)
tree0cc13b596e7d67ab3bff1bf140625d177835e3a5 /llvm/lib/DebugInfo/PDB/PDBExtras.cpp
parent51a8de9f7af7930fb4a865e48ee0875cac7c1404 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud