DavidSpickett added a comment.

TCR_ELx begins at 1 (see `D13.2.123 TCR_EL1, Translation Control Register 
(EL1)` in the armarm) and covers EL0 and 1. Looking at the pseudocode access to 
this is undefined at EL0.

So the OS would have to provide you some other way to read that, I know this is 
missing on Linux at the moment. A user setting might be good for us supporting 
Linux too. (though I realise your immediate concern is MacOS)


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