summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-06-22 03:03:25 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-06-22 03:03:25 +0000
commit8cd780b432d126269f8db3a47d870564c6cec8a3 (patch)
treeca151838cabd9fc375815c5cf3458554dd2ed0b8 /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc
parent01d649c2495dba9534f5b041cbd51ca227600b35 (diff)
downloadbcm5719-llvm-8cd780b432d126269f8db3a47d870564c6cec8a3.tar.gz
bcm5719-llvm-8cd780b432d126269f8db3a47d870564c6cec8a3.zip
AArch64: Add support for reading pc using llvm.read_register.
This is useful for allowing code to efficiently take an address that can be later mapped onto debug info. Currently the hwasan pass achieves this by taking the address of the current function: http://llvm-cs.pcc.me.uk/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp#921 but this costs two instructions (plus a GOT entry in PIC code) per function with stack variables. This will allow the cost to be reduced to a single instruction. Differential Revision: https://reviews.llvm.org/D63471 llvm-svn: 364126
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud