jasonmolenda wrote:

@DavidSpickett I tried adding the register definitions for these 7 registers as 
GPR registers in RegisterInfos_arm64.h and RegisterInfos_arm64_sve.h and it 
immediately caused problems, where every RegisterContext*arm64.cpp that defines 
the GPR structure needs to include these as part of the GPRs.  But in 
RegisterContextDarwin_arm64.cpp, the register set definitions need to match the 
Darwin register flavors exactly (for corefile reading/writing), and I can't add 
bonus registers there.

We'd need to create a new fake register set to hold these, probably, or else 
well need a gdb stub that can provide them to give us all the metadata we need 
to work with them.  I think I'd rather put this bit off until we need to do it.

https://github.com/llvm/llvm-project/pull/183860
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to