llvm-project/clang/lib
Erich Keane 8a410bcef0 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

llvm-svn: 373929
2019-10-07 17:28:03 +00:00
..
ARCMigrate Removed some questionable default arguments from setters 2019-09-12 12:16:43 +00:00
AST AST - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 13:58:05 +00:00
ASTMatchers [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Analysis Teach CallGraph to look into Generic Lambdas. 2019-09-30 19:12:29 +00:00
Basic [OPENMP]Use standard parsing for 'match' clause, NFC. 2019-09-23 18:13:31 +00:00
CodeGen Fix Calling Convention through aliases 2019-10-07 17:28:03 +00:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver [Driver] NFC: Remove duplicate call to getLibGccType 2019-10-04 08:26:37 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] [PR27004] omits leading space for noexcept when formatting operator delete() 2019-10-07 17:03:44 +00:00
Frontend RewriteModernObjC - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 13:58:15 +00:00
FrontendTool [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers 2019-09-12 18:53:48 +00:00
Headers [x86] Adding support for some missing intrinsics: _castf32_u32, _castf64_u64, _castu32_f32, _castu64_f64 2019-09-25 02:24:05 +00:00
Index [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
Lex [clang-scan-deps] Allow continuation line backslashes followed by whitespace 2019-09-26 19:28:51 +00:00
Parse [OPENMP50]Suppport for multiple vendors in the same vendor context 2019-10-04 15:58:45 +00:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Sema - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 14:25:46 +00:00
Serialization Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
StaticAnalyzer Revert "[analyzer] A speculative attempt to avoid gcc-7 crashes..." 2019-09-26 18:52:00 +00:00
Tooling [libTooling] Add `toString` method to the Stencil class 2019-10-07 16:20:22 +00:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00