Add Fix*Address methods to Process, call into ABI
authorJason Molenda <jason@molenda.com>
Wed, 14 Jun 2023 20:40:54 +0000 (13:40 -0700)
committerJason Molenda <jason@molenda.com>
Wed, 14 Jun 2023 20:49:26 +0000 (13:49 -0700)
commit90d9f88f19a128a6bacd7c8db594feb96047cded
tree40768b24cbe7924383f27173721cebd99b5409be
parent5d54213ee557a86fae82af0f75498adf02f24e82
Add Fix*Address methods to Process, call into ABI

We need to clear non-addressable bits from addresses across
the lldb sources.  Currently these need to use an ABI method
to clear those bits from addresses, which you do by taking a
Process, getting the current ABI, then calling the method.

Simplify this by providing methods in Process which call into
the ABI methods themselves.

Differential Revision: https://reviews.llvm.org/D152863
lldb/include/lldb/Target/Process.h
lldb/source/Target/Process.cpp