llvm-project/clang/lib
Akira Hatanaka 8af7bb28aa [CodeGen] Emit lifetime.end intrinsic after objects are destructed in
landing pads.

Previously, lifetime.end intrinsics were inserted only on normal control
flows. This prevented StackColoring from merging stack slots for objects
that were destroyed on the exception handling control flow since it
couldn't tell their lifetime ranges were disjoint. This patch fixes
code-gen to emit the intrinsic on both control flows.

rdar://problem/22181976

Differential Revision: http://reviews.llvm.org/D18196

llvm-svn: 265197
2016-04-01 22:58:55 +00:00
..
ARCMigrate Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-10 19:11:58 +00:00
AST [OPENMP] Support dumping OpenMP specific constructs. 2016-03-31 09:30:50 +00:00
ASTMatchers [ASTMatchers] Add own version of VariadicFunction. 2016-03-25 16:29:30 +00:00
Analysis [Sema] Handle UTF-8 invalid format string specifiers 2016-03-29 17:35:02 +00:00
Basic [CodeGenCXX] Fix ItaniumCXXABI::getAlignmentOfExnObject to return 8-byte 2016-03-31 06:36:07 +00:00
CodeGen [CodeGen] Emit lifetime.end intrinsic after objects are destructed in 2016-04-01 22:58:55 +00:00
Driver [CrashReproducer] Add -fmodule-cache-path to reproducer script 2016-04-01 17:39:08 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format Added formatAndApplyAllReplacements that works on multiple files in libTooling. 2016-03-29 16:31:53 +00:00
Frontend [CrashReproducer] Add a module map callback for added headers 2016-03-30 23:54:25 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [CUDA] Fix typo in __clang_cuda_runtime_wrapper.h. 2016-04-01 00:25:42 +00:00
Index [index] Fix regression where ObjC method declarations may mistakenly get indexed as definition. 2016-03-31 20:18:22 +00:00
Lex Diagnose missing macro argument following charize operator. 2016-04-01 19:02:20 +00:00
Parse Revert "[OPENMP] Allow skip expression after comma in clauses with lists." 2016-04-01 08:43:42 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs 2016-04-01 16:05:09 +00:00
Serialization [modules] Start moving the code for encoding AST records out of ASTWriter into 2016-04-01 22:52:03 +00:00
StaticAnalyzer [analyzer] Prefer accessor method in extension over category in CallEvent. 2016-04-01 03:24:13 +00:00
Tooling Added formatAndApplyAllReplacements that works on multiple files in libTooling. 2016-03-29 16:31:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00