llvm-project/clang/lib
Akira Hatanaka e9bf0a710c [CodeGen] Store the return value of the target function call to the
thunk's return value slot directly when the return type is an aggregate
instead of doing so via a temporary

This fixes PR45997 (https://bugs.llvm.org/show_bug.cgi?id=45997), which
is caused by a bug that has existed since we started passing and
returning C++ structs with ObjC strong pointer members (see
https://reviews.llvm.org/D44908) or structs annotated with trivial_abi
directly.

rdar://problem/63740936

Differential Revision: https://reviews.llvm.org/D82513
2020-07-10 17:24:13 -07:00
..
ARCMigrate Removed a RecursiveASTVisitor feature to visit operator kinds with different methods 2020-07-06 13:38:01 +02:00
AST [AST][ObjC] Fix crash when printing invalid objc categories 2020-07-10 15:35:14 -04:00
ASTMatchers [ASTMatchers] Added hasDirectBase Matcher 2020-07-07 16:05:11 +01:00
Analysis [SemaCXX] Fix false positive of -Wuninitialized-const-reference in empty function body. 2020-07-06 10:52:05 -07:00
Basic Reland "[FPEnv][Clang][Driver] Disable constrained floating point on targets lacking support." 2020-07-10 08:49:45 -04:00
CodeGen [CodeGen] Store the return value of the target function call to the 2020-07-10 17:24:13 -07:00
CrossTU [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver Switch to using -debug-info-kind=constructor as default (from =limited) 2020-07-09 15:26:46 -07:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format Hand Allocator and IdentifierTable into FormatTokenLexer. 2020-07-07 11:56:34 +02:00
Frontend [LPM] Port CGProfilePass from NPM to LPM 2020-07-10 09:04:51 -07:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper headers 2020-07-10 18:53:34 -05:00
Index [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
Lex [Lexer] Fix missing coverage line after #endif 2020-07-10 09:05:20 -07:00
Parse [OPENMP50] extend array section for stride (Parsing/Sema/AST) 2020-07-09 13:28:51 -05:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Change behavior with zero-sized static array extents 2020-07-10 15:58:11 -04:00
Serialization [OPENMP50] extend array section for stride (Parsing/Sema/AST) 2020-07-09 13:28:51 -05:00
StaticAnalyzer [analyzer] Silence a warning. 2020-07-10 13:25:46 -07:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Use FileRange::text instead of Lexer::getSpelling 2020-07-10 16:21:12 +00:00
CMakeLists.txt Move unittest helpers to a shared location 2020-05-29 16:47:33 +02:00