Re: [lldb-dev] RFC: AArch64 Linux Memory Tagging Support for LLDB

2020-08-13 Thread Peter Collingbourne via lldb-dev
On Mon, Aug 10, 2020 at 3:41 AM David Spickett via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hi all, > > What follows is my proposal for supporting AArch64's memory tagging > extension in LLDB. I think the link in the first paragraph is a good > introduction if you haven't come across memory

Re: [lldb-dev] RFC: AArch64 Linux Memory Tagging Support for LLDB

2020-08-13 Thread Jason Molenda via lldb-dev
Hm, another approach would be to have an ABI method that takes an address (with pac bits), an enumerated value describing the type of address it is, and then the ABI method would know whether to strip pac bits or not. the linux Aarch64 armv8.3 ABI might know it needs to strip PAC bits from a

Re: [lldb-dev] RFC: AArch64 Linux Memory Tagging Support for LLDB

2020-08-13 Thread Jason Molenda via lldb-dev
Hi Omair, yea I need to start working with the upstream sources and you to coordinate this. My current implementation in the apple branch was something I've revised over the last two years, and further revision will be needed as we integrate it in the llvm.org source base. My general design

Re: [lldb-dev] RFC: AArch64 Linux Memory Tagging Support for LLDB

2020-08-13 Thread Omair Javaid via lldb-dev
Hi Jason, I wanted to bring this to your attention that we are also working on pointer authentication support. We have so far only done register context changes to allow for enabling/disabling pointer authentication features and read/write pauth Cmask/Dmask registers when available. I am