[NFC] Add GetInferiorAddrSize method, unify code to compute
authorJason Molenda <jason@molenda.com>
Thu, 13 May 2021 07:46:21 +0000 (00:46 -0700)
committerJason Molenda <jason@molenda.com>
Thu, 13 May 2021 07:47:58 +0000 (00:47 -0700)
commitafee09751d2d744a753ef4d3e8d83857dcd0f682
tree2a4d2ded74a020823508541948fc8047d518c436
parent107d19eb017ff6734986af077eb2e9f6600114a9
[NFC] Add GetInferiorAddrSize method, unify code to compute

MachProcess.mm has a sequence to get the address size in
the inferior in three places; and I'm about to add a fourth
in a future patch.  Not a fan.
lldb/tools/debugserver/source/MacOSX/MachProcess.h
lldb/tools/debugserver/source/MacOSX/MachProcess.mm