llvm-project/clang/lib
John Brawn 6c49f58a35 [ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation
Overaligned and underaligned types (i.e. types where the alignment has been
increased or decreased using the aligned and packed attributes) weren't being
correctly handled in all cases, as the unadjusted alignment should be used.

This patch also adjusts getTypeUnadjustedAlign to correctly handle typedefs of
non-aggregate types, which it appears it never had to handle before.

Differential Revision: https://reviews.llvm.org/D62152

llvm-svn: 361372
2019-05-22 11:42:54 +00:00
..
ARCMigrate Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
AST [ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation 2019-05-22 11:42:54 +00:00
ASTMatchers Move TraversalKind enum to ast_type_traits 2019-05-16 17:57:38 +00:00
Analysis [c++20] Implement P1009R2: allow omitting the array bound in an array 2019-05-06 03:47:15 +00:00
Basic [PPC64] Fix PPC64TargetInfo ABI on clang side after D61950 2019-05-22 09:26:46 +00:00
CodeGen [ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation 2019-05-22 11:42:54 +00:00
CrossTU [ASTImporter] Use llvm::Expected and Error in the importer API 2019-05-15 10:29:48 +00:00
Driver [Driver][Windows] Add dependent lib argument for -fprofile-generate and -fcs-profile-generate 2019-05-22 10:06:49 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format [clang-format] Fixed self assignment 2019-05-15 20:29:33 +00:00
Frontend [PragmaHandler] Expose `#pragma` location 2019-05-21 23:51:38 +00:00
FrontendTool [analyzer] Don't display implementation checkers under -analyzer-checker-help, but do under the new flag -analyzer-checker-help-hidden 2019-05-01 19:56:47 +00:00
Headers [X86] Remove semicolons at the end of intrinsics implemented as macros so they can be used as arguments to other intrinsics. 2019-05-19 01:01:52 +00:00
Index Use llvm::stable_sort 2019-04-24 14:43:05 +00:00
Lex [PragmaHandler] Expose `#pragma` location 2019-05-21 23:51:38 +00:00
Parse [PragmaHandler] Expose `#pragma` location 2019-05-21 23:51:38 +00:00
Rewrite [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
Sema Refactor: split Uninitialized state on APValue into an "Absent" state 2019-05-21 23:15:18 +00:00
Serialization [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
StaticAnalyzer [Analyzer] Refactor begin and end symbol creation 2019-05-20 11:04:27 +00:00
Tooling [LibTooling] Add RangeSelector library for defining source ranges based on bound AST nodes. 2019-05-20 13:15:14 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00