diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-08-12 23:53:23 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-08-12 23:53:23 +0000 |
commit | 6817ce24c17261a8c9ec52d0dfd211ec89483962 (patch) | |
tree | 2b3cc5cc9b0bb683feb261e47d64e69c5edec95b /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 5b32752d107aec1dbe8676a080c4ae9866a2607c (diff) | |
download | bcm5719-llvm-6817ce24c17261a8c9ec52d0dfd211ec89483962.tar.gz bcm5719-llvm-6817ce24c17261a8c9ec52d0dfd211ec89483962.zip |
Do not call replaceAllUsesWith to upgrade calls to ARC runtime functions
to intrinsic calls
This fixes a bug in r368311.
It turns out that the ARC runtime functions in the IR can have pointer
parameter types that are not i8* or i8**. Instead of RAUWing normal
functions with intrinsics, manually bitcast the arguments before passing
them to the intrinsic functions and bitcast the return value back to the
type of the original call instruction.
rdar://problem/54125406
llvm-svn: 368634
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions