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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to