diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-17 11:16:35 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-17 11:16:35 +0000 |
commit | a2a9cfab83a9252b3fbdb0b487fd5acb6e32b323 (patch) | |
tree | 30e72c76769d7131b0a4ed072e57a6552433910e /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 0e69e2d74739a119a78d131c29b92c25787ec2f3 (diff) | |
download | bcm5719-llvm-a2a9cfab83a9252b3fbdb0b487fd5acb6e32b323.tar.gz bcm5719-llvm-a2a9cfab83a9252b3fbdb0b487fd5acb6e32b323.zip |
CodeGen: Fix invalid bitcast for lifetime.start/end
lifetime.start/end expects pointer argument in alloca address space.
However in C++ a temporary variable is in default address space.
This patch changes API CreateMemTemp and CreateTempAlloca to
get the original alloca instruction and pass it lifetime.start/end.
It only affects targets with non-zero alloca address space.
Differential Revision: https://reviews.llvm.org/D45900
llvm-svn: 332593
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions