[Lldb-commits] [PATCH] D98529: [lldb] Strip pointer authentication codes from aarch64 pc.
Jason Molenda via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 17 12:01:49 PDT 2021
jasonmolenda added a comment.
In D98529#2632424 <https://reviews.llvm.org/D98529#2632424>, @justincohen wrote:
> uint32_t addressing_bits;
> size_t len = sizeof (uint32_t);
> ret = sysctlbyname("machdep.virtual_address_size", &addressing_bits, &len, NULL, 0);
>
> returns ret == -1 on an iOS 14.4 device. I do see this work on an m1 mac.
Hmmm let me install iOS 14.4 on a device and check. The iOS devices have the default number of addressing bits in use (unlike the M1 <https://reviews.llvm.org/M1> macs) so it could be failing on iOS without me ever noticing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98529/new/
https://reviews.llvm.org/D98529
More information about the lldb-commits
mailing list