diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2016-04-01 22:58:55 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-04-01 22:58:55 +0000 |
| commit | 8af7bb28aa225fe30e0a682325b5b9f4df74d6fe (patch) | |
| tree | 2c57e78d83e44e464a746ae2151cde903978202d /llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | |
| parent | 58a15d5a235c57aafdc881250c25d8ce37a0f47e (diff) | |
| download | bcm5719-llvm-8af7bb28aa225fe30e0a682325b5b9f4df74d6fe.tar.gz bcm5719-llvm-8af7bb28aa225fe30e0a682325b5b9f4df74d6fe.zip | |
[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
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp')
0 files changed, 0 insertions, 0 deletions

