[Lldb-commits] [PATCH] D105181: [lldb][AArch64] Add memory tag writing to lldb
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 7 03:27:51 PDT 2021
DavidSpickett added inline comments.
================
Comment at: lldb/source/Target/Process.cpp:6108
+ range_callback) {
Architecture *arch = GetTarget().GetArchitecturePlugin();
const MemoryTagManager *tag_manager =
----------------
omjavaid wrote:
> The point I was trying to establish above is that GetMemoryTagManagerImpl function here may remain as it was i-e GetMemoryTagManager. It could only run once on Process object creation. We know our process architecture so we can host a pointer to relevent tag manager in Process class. All the tag ranges corresponding to the current process address space should be able to get a pointer to MemoryTagManager as was being done previously.
I see what you mean. I'm going to try this on top of main as a new change, then I'll refactor this based on that if it works out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105181/new/
https://reviews.llvm.org/D105181
More information about the lldb-commits
mailing list