[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-24 Thread David Spickett via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGe0f2744a115c: [lldb][AArch64] Add class for managing memory tags (authored by DavidSpickett). Repository: rG LLVM Github Monorepo CHANGES SINCE

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-21 Thread Muhammad Omair Javaid via Phabricator via lldb-commits
omjavaid accepted this revision. omjavaid added a comment. This revision is now accepted and ready to land. In D97281#2824678 , @DavidSpickett wrote: > @omjavaid As it stands, RemoveNonAddressBits here removes the top byte > unconditionally. > > You

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-17 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment. @omjavaid As it stands, RemoveNonAddressBits here removes the top byte unconditionally. You asked for pointer signatures to be removed as well, which would be neatly solved by using the ABI plugin. Ok to land this as is, then write a follow up to migrate to

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-17 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 352720. DavidSpickett added a comment. Rebase onto main. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-17 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment. I am going to go over them this afternoon. I'm about to land some lldb patches that allow some easy refactoring, and your ABI patch might be useable too. If using the ABI method is better as a follow up then we can get started landing them. Repository: rG

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-17 Thread Muhammad Omair Javaid via Phabricator via lldb-commits
omjavaid added a comment. @DavidSpickett Do you have any further plans for this and other patches in the series. I was wondering if there is nothing to add we can go ahead and merge this series. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-06-11 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 351428. DavidSpickett added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-05-26 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 347893. DavidSpickett added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-05-13 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 345099. DavidSpickett added a comment. Address all comments apart from address handling that I need to spend some time thinking about. It may end up that the best way to do this is have the tag manager provide a way to remove only the tags and let the

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-05-05 Thread Muhammad Omair Javaid via Phabricator via lldb-commits
omjavaid added a comment. This looks ok to me apart from some cosmetic nits. Also you may figure out a way to clean up the whole address including pauth now after D99944 is merged. Comment at: lldb/include/lldb/Target/MemoryTagManager.h:72 +

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-04-29 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 341446. DavidSpickett added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-04-27 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 340774. DavidSpickett added a comment. Rebase onto main. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-04-14 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 337452. DavidSpickett added a comment. - Rebase onto main Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97281/new/ https://reviews.llvm.org/D97281 Files: lldb/include/lldb/Target/MemoryTagManager.h

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-04-07 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment. @labath Could you comment on the overall strategy that I'm going for? I'll summarise my intention, the rest of the review stack here implements that if you have time/want to dig into the details. - Tag managers provide utilities to handle tags without knowing the

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-03-08 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett updated this revision to Diff 329022. DavidSpickett added a comment. - Add RemoveNonAddressBits which will remove the entire top byte not just tags - Remove SetLogicalTag/RemoveLogicalTag/CopyLogicalTag which are now unused in the proceeding patches Repository: rG LLVM Github

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-03-02 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added inline comments. Comment at: lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp:43 + +ptrdiff_t MemoryTagManagerAArch64MTE::AddressDiff(lldb::addr_t addr1, + lldb::addr_t addr2) const {

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-03-02 Thread Muhammad Omair Javaid via Phabricator via lldb-commits
omjavaid added inline comments. Comment at: lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp:43 + +ptrdiff_t MemoryTagManagerAArch64MTE::AddressDiff(lldb::addr_t addr1, + lldb::addr_t addr2) const {

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-03-01 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added inline comments. Comment at: lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp:43 + +ptrdiff_t MemoryTagManagerAArch64MTE::AddressDiff(lldb::addr_t addr1, + lldb::addr_t addr2) const {

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-03-01 Thread Muhammad Omair Javaid via Phabricator via lldb-commits
omjavaid added a comment. This looks good overall except for one comment inline. Comment at: lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp:43 + +ptrdiff_t MemoryTagManagerAArch64MTE::AddressDiff(lldb::addr_t addr1, +

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-02-23 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added reviewers: labath, omjavaid. DavidSpickett added a comment. Herald added a subscriber: JDevlieghere. Omair, I've taken one of your suggestions on the class name from the other review. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags

2021-02-23 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett created this revision. Herald added subscribers: danielkiss, kristof.beyls, mgorny. DavidSpickett requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. This adds the MemoryTagManager class and a specialisation of that class for