diff options
author | Vedant Kumar <vsk@apple.com> | 2019-01-19 02:37:59 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2019-01-19 02:37:59 +0000 |
commit | 17d9f14bffc28d200a3ccef75b9409cd0e6bba86 (patch) | |
tree | 518b1133d0c0882d6a555a68ea870b7f9dfa3d8d /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp | |
parent | c089fbbaf28698d340e3a958e4e9cee9e519a68c (diff) | |
download | bcm5719-llvm-17d9f14bffc28d200a3ccef75b9409cd0e6bba86.tar.gz bcm5719-llvm-17d9f14bffc28d200a3ccef75b9409cd0e6bba86.zip |
[CodeExtractor] Emit lifetime markers around reloads of outputs
CodeExtractor permits extracting a region of blocks from a function even
when values defined within the region are used outside of it.
This is typically done by creating an alloca in the original function
and reloading the alloca after a call to the extracted function.
Wrap the reload in lifetime start/end markers to promote stack coloring.
Suggested by Sergei Kachkov!
Differential Revision: https://reviews.llvm.org/D56045
llvm-svn: 351621
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions