llvm /
clang /
0e6f1764e3d92afd7215c2cddcc09b3a39cc0a1c Fix Calling Convention through aliases
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373929 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed