summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-12-02 01:40:54 -0800
committerLang Hames <lhames@gmail.com>2019-12-02 01:52:52 -0800
commit0e7ecc651a47f818abafdfe5f928923f789fe0bc (patch)
tree77164d7a31d6b786ecbadd0da4ea4c24751619e5 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent5c05b4a279f51d7eaa91f008bc5dc2155d98061a (diff)
downloadbcm5719-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/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud