diff options
author | Lang Hames <lhames@gmail.com> | 2019-12-02 01:40:54 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-12-02 01:52:52 -0800 |
commit | 0e7ecc651a47f818abafdfe5f928923f789fe0bc (patch) | |
tree | 77164d7a31d6b786ecbadd0da4ea4c24751619e5 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 5c05b4a279f51d7eaa91f008bc5dc2155d98061a (diff) | |
download | bcm5719-llvm-0e7ecc651a47f818abafdfe5f928923f789fe0bc.tar.gz bcm5719-llvm-0e7ecc651a47f818abafdfe5f928923f789fe0bc.zip |
[ExecutionEngine] Add a jitTargetAddressToFunction utility function.
jitTargetAddressToFunction takes a JITTargetAddress and returns a pointer of
the given function pointer type suitable for calling to invoke the function
at the target address.
jitTargetAddressToFunction currently behaves the same as
jitTargetAddressToPointer, but in the near future will be updated to perform
pointer signing on architectures that require it (e.g. arm64e). For this
reason it should always be preferred when generating callable pointers for
JIT'd functions.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions