summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/call-conv-thru-alias.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix Calling Convention through aliasesErich Keane2019-10-071-0/+21
r369697 changed the behavior of stripPointerCasts to no longer include aliases. However, the code in CGDeclCXX.cpp's createAtExitStub counted on the looking through aliases to properly set the calling convention of a call. The result of the change was that the calling convention mismatch of the call would be replaced with a llvm.trap, causing a runtime crash. Differential Revision: https://reviews.llvm.org/D68584 llvm-svn: 373929
OpenPOWER on IntegriCloud