[Lldb-commits] [lldb] [lldb][AArch64] Move register info reconfigure into architecture plugin (PR #70950)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 1 09:28:19 PDT 2023
================
@@ -109,6 +110,24 @@ class Architecture : public PluginInterface {
virtual const MemoryTagManager *GetMemoryTagManager() const {
return nullptr;
}
+
+ // This returns true if a write to the named register should cause lldb to
+ // reconfigure its register information. For example on AArch64 writing to vg
+ // to change the vector length means lldb has to change the size of registers.
+ virtual bool RegisterWriteCausesReconfigure(const char *name) const {
----------------
JDevlieghere wrote:
Why a `const char*` and not a `StringRef`? That would get rid of the `strcmp` in the AArch64 implementation.
https://github.com/llvm/llvm-project/pull/70950
More information about the lldb-commits
mailing list